Join Digital Nomads and Remote Workers to Ask Questions, Share Experiences, Find Remote Jobs and Seek Recommendations.

HTML Header Tag

,

The <header> tag is use to defined the title, headings, search form, author information, logo elements of the website or the article.

The <header> tag usually contained <h1> - <h6> elements or <hgroup> element, but it’s not required.

<header>
  <h1>Page Title</h1>
  <h2>Categories</h2>
  <p>Paragraph</p>
</header> 

We usually place them inside the <article>

<article>
  <header>
    <h1>Page Title</h1>
    <h2>Categories</h2>
    <p>Paragraph</p>
  </header>
</article> 

An HTML document are allow to have more than one <header> element. The <header> should be related of the element. But, the <header> tag cannot be placed within a <footer>, <address> or another <header> element.

Browser Compatibility

BrowsersChromeEdgeFireFoxSafariOpera
<header>5.012.04.05.011.1

We Work From Anywhere

Find Remote Jobs, Ask Questions, Connect With Digital Nomads, and Live Your Best Location-Independent Life.