The <hgroup> Tag in HTML 5

The <hgroup> tag is one of the heading tags in HTML.

Only one of the heading tags in an hgroup element contributes to the current section outline, namely the highest level (<h1> before <h2>, etc.) heading and then the first one of those if there is more than one heading with the same level heading tag.

LevelHTML Code LevelHTML Code
Level 1
<hgroup>
   <h1>... outline heading ...</h1>
   <h2>... additional heading ...</h2>
   ...
</hgroup>
Level 4
<hgroup>
   <h4>... outline heading ...</h4>
   <h5>... additional heading ...</h5>
   ...
</hgroup>
Level 2
<hgroup>
   <h2>... outline heading ...</h2>
   <h3>... additional heading ...</h3>
   ...
</hgroup>
Level 5
<hgroup>
   <h5>... outline heading ...</h5>
   <h6>... additional heading ...</h6>
   ...
</hgroup>
Level 3
<hgroup>
   <h3>... outline heading ...</h3>
   <h4>... additional heading ...</h4>
   ...
</hgroup>
Level 6
<hgroup>
   <h6>... outline heading ...</h6>
   <h6>... additional heading ...</h6>
   ...
</hgroup>