HTML <header>Tag
Examples
The header of <article>:
<article>
<header>
<h1>Internet Explorer 9</h1>
<p><time pubdate datetime="2011-03-15"></time></p>
</header>
<p>Windows Internet Explorer 9 (abbreviated as IE9) was released at 21:00 on March 14, 2011</p>
</article>
<header>
<h1>Internet Explorer 9</h1>
<p><time pubdate datetime="2011-03-15"></time></p>
</header>
<p>Windows Internet Explorer 9 (abbreviated as IE9) was released at 21:00 on March 14, 2011</p>
</article>
Try it Yourself »
Browser Support
![]()
IE 9, Firefox, Opera, Chrome, and Safari support the <header> tag.
Note:IE 8 or earlier versions of IE browsers do not support the <header> tag.
Tag Definition and Usage Instructions
The <header> tag defines the header of a document or a section of a document.
The <header> element should be used as a container for introductory content or navigation link bars.
In a document, you can define multiple <header> elements.
Note:The <header> tag cannot be placed inside a <footer>, <address>, or another <header> element.
Differences Between HTML 4.01 and HTML5
The <header> tag is a new tag in HTML5.
Global Attributes
The <header> tag supportsHTML Global Attributes。
Event Attributes
The <header> tag supportsHTML Event Attributes。
Other Extensions