Name
hgroup — HTML5
Synopsis
<hgroup> . . . </hgroup>
Used to group a stack of h1
–h6
headings so that subsequent heading levels are treated as subheads or
taglines and do not contribute to the outline structure of the
page.
Notes
HTML5 only.
Start/End Tags
Required/Required
Attributes
HTML5 Global Attributes
Example
<hgroup> <h1>Web Design in a Nutshell</h1> <h2>A Desktop Quick Reference</h2> </hgroup>
Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.