HTML <hgroup> Tag


The above example demonstrates usage of the <hgroup> element.

The <hgroup> element represents a set of <h1> - <h6> elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines.

The <hgroup> element is supported by the WHATWG HTML Living Standard.

The <hgroup> element is not supported by the W3C. It was added to HTML5 but then dropped from the spec. If you need your code to be W3C-compliant, avoid this element.

For a W3C-compliant version, use any of the following:

<h1>Title: Subtitle</h1>