<hgroup> <h1>Title</h1> <h2>Subtitle</h2> </hgroup>
The above example demonstrates usage of the
<hgroup> element is supported by the WHATWG HTML Living Standard.
<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 <span>Subtitle</span> </h1>