jump

HTML: The Markup Language (an HTML language reference)

headerheader NEW # T

The header element represents the header of a section.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.

Additional constraints and admonitions #

Tag omission #

A header element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain flow elements

Details #

The header element typically contains the headings for a section (an h1-h6 element or hgroup element), along with content such as introductory material or navigational aids for the section.

DOM interface #

Uses HTMLElement.

Typical default display properties #

header {
display: block; }