Fandom

HTML & CSS Wiki

Hgroup

649pages on
this wiki
Add New Page
Comments0 Share

The HTML <hgroup></hgroup> element was first introduced in HTML5 and Gecko 1.9.3. It represents the heading of a section. It defines a single title participating in the outline of the document as the heading of the implicit or explicit section that it belongs too.

Its text for the outline algorithm is the text of the first heading element of highest rank (i.e. the first <h1>, <h2>, <h3>, <h4>, <h5> or <h6> with the smallest number among its descendants) and the rank is the rank of this very same heading element.

Therefore this element groups several headings and hides them, except the main one, to the outline of the document. It allows the association of secondary titles, like subheadings, alternative titles or even taglines, to the main heading, without polluting the outline of the document.


Attributes

See Global HTML Attributes.


See Also

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.