Use <hgroup> to group headings:
The <hgroup> tag is used to group heading elements.
The <hgroup> element is used to group a set of <h1> to <h6> elements, when a heading has multiple levels (subheadings).
The numbers in the table specify the first browser version that fully supports the element.
Element | |||||
---|---|---|---|---|---|
<hgroup> | 5.0 | 9.0 | 4.0 | 4.1 | 11.1 |
The <hgroup> tag is new in HTML5.
The <hgroup> tag also supports the Global Attributes in HTML.
The <hgroup> tag also supports the Event Attributes in HTML.
HTML DOM reference: HGroup Object
Most browsers will display the <hgroup> element with the following default values: