<header>
HTML <header> Tag
Instance
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <article> <header> <h1>Internet Explorer 9</h1> <p><time pubdate datetime="2011-03-15"></time></p> </header> <p> Windows Internet Explorer 9(缩写为 IE9 )是在2011年3月14日21:00发布的</p> </article> </body> </html>
Run Example»
Click the "Run Instance" button to view the online instance
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
<header> The tag defines the header of the document or a part of the document. The
<header> element should serve 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 HTML 5.
Global attributes
The<header> tag supports HTML global attributes.
Event attributes
<header> tag supports HTML event attributes.