hgroup – heading group NEW # T
The
hgroup
element
represents a group of headings.
Permitted contents #
one or more of: one h1 element,
or one h2 element,
or one h3 element,
or one h4 element,
or one h5 element,
or one h6 element
Permitted parent elements #
any element that can contain
flow elements
Details #
The
hgroup
element is typically used to group a
set of one or more
h1-h6
elements — to group, for
example, a section title and an accompanying subtitle.
DOM interface #
Uses
HTMLElement.
Typical default display properties #