HTML <hgroup>Tag
Examples
Use <hgroup> to group headings:
<hgroup>
<h1>Welcome to my WWF</h1>
<h2>For a living planet</h2>
</hgroup>
<p>The rest of the content...</p>
<h1>Welcome to my WWF</h1>
<h2>For a living planet</h2>
</hgroup>
<p>The rest of the content...</p>
Try it Yourself »
Browser Support
![]()
IE 9, Firefox, Opera, Chrome, and Safari support the <hgroup> tag.
Note:IE 8 or earlier versions of IE do not support the <hgroup> tag.
Definition and Usage
The <hgroup> tag is used to group heading elements.
When a heading has multiple levels (subheadings), the <hgroup> element is used to group a series of<h1> - <h6>elements.
Differences Between HTML 4.01 and HTML5
The <hgroup> tag is new in HTML5.
Global Attributes
The <hgroup> tag supportsHTML Global Attributes。
Event Attributes
The <hgroup> tag supportsHTML Event Attributes。
Other Extensions