Description:

The HTML <header> tag represents a group of introductory or navigational aids.

The <header> element should be used as a container for introductory content or set of navigational links.

Example Code:
<!DOCTYPE html>
<html>
  <head>
    <title>Untitled 1</title>
  </head>
  <body>
    <header>
      <h1>Header of Page</h1>
    </header>
    <article>
      <p>Description and information of page goes here.</p>
    </article>
    <footer>
      Footer of Page - Copyright
    </footer>
  </body>
</html>
Result:
Attributes:

None

Global Attributes:

The <header> tag also supports the Global Attributes in HTML5

Event Attributes:

The <header> tag also supports the Event Attributes in HTML5



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.