The <header> element may contain some heading elements but also other elements like a logo, wrapped section's header, a search form, and so on. The header element should be used as a container for introductory content. You can have several header elements in one document.

Syntax:

<header></header>

Attributes:

NOTE: The <header> element may not be used inside a <footer>, <address> or other <header> element.

Example

The header tag example:

 

›› go to examples ››