Latest web development tutorials

HTML <header> tag

Examples

<Article> header:

<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) is at 21 o'clock on March 14, 2011 published </ p>
</ Article>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

IE 9, Firefox, Opera, Chrome and Safari support <header> tag.

Note: IE 8 or earlier versions of IE browser does not support the <header> tag.


Tag definitions and instructions

Header <header> tag defines a partial area of ​​the document or documents.

<Header> element should be introduced as the contents of the container or the navigation bar links.

In a document, you can define multiple <header> element.

NOTE: <header> tag can not be placed <footer>, <address> or another internal <header> element.


Differences between HTML 4.01 and HTML5

<Header> tag is new in HTML 5 tag.


Global Properties

<header> tag supports HTML global properties .


Event Properties

<header> tag supports HTML event properties .