<header>

The header element represents introductory content or a group of navigational aids for its nearest section.

Since HTML5 Spec ↗

Syntax

<header>...</header>

Examples

<header>
  <h1>My Blog</h1>
  <nav><a href="/">Home</a></nav>
</header>
Output
Renders a banner region containing the site title and primary navigation.

Notes

A <header> that is a direct child of <body> is the page banner landmark. You may use multiple <header> elements, one per <article> or <section>.

Browser & runtime support

EnvironmentSince version
chrome 5.0
firefox 4.0
safari 5.0
edge 12

See also