HTML Sectioning Elements Header Element


The <header> element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A <header> typically contains a group of introductory or navigational aids.

Note: The header element is not sectioning content; it doesn’t introduce a new section.


  <p>Welcome to...</p>

In this example, the <article> has a <header>.

    <h1>Flexbox: The definitive guide</h1>
  <p>The guide about Flexbox was supposed to be here, but it turned out Wes wasn’t a Flexbox expert either.</p>

W3C Proposed Recommendation