HTML <hgroup> Tag
Description
The <hgroup> element groups a heading with related secondary content, such as a subtitle, alternative title or tagline. It contains exactly one heading element (<h1> to <h6>) and one or more <p> elements before or after it.
The paragraphs inside an <hgroup> do not create headings of their own, so a subtitle does not add an extra level to the document outline. This is the main reason to use it: earlier versions of the specification allowed several headings inside <hgroup>, which caused confusion and accessibility problems, and the current definition uses paragraphs for the subtitle instead.
<hgroup>
<h1>Frankenstein</h1>
<p>Or: The Modern Prometheus</p>
</hgroup>
Browsers apply no special styling to <hgroup>, so you can style the subtitle with CSS, for example with a smaller font size and a muted color.
Properties
Example
Attributes
None
Global Attributes
The <hgroup> tag also supports the Global Attributes in HTML5
Event Attributes
The <hgroup> tag also supports the Event Attributes in HTML5
Browser Support
The following information will show you the current browser support for the HTML <hgroup> tag. Hover over a browser icon to see the version that first introduced support for this HTML tag.
Desktop





Tablets & Mobile





