HTML development manual
/ <header>
<header>
HTML <header> 標(biāo)簽 實(shí)例 <article> 的頁眉: <article> <header> <h1>Internet Explorer 9</h1>..
HTML <header> 標(biāo)簽
實(shí)例
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(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發(fā)布的</p> </article> </body> </html>
運(yùn)行實(shí)例 ?
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例
瀏覽器支持
IE 9、Firefox、Opera、Chrome 和 Safari 支持 <header> 標(biāo)簽。
注釋:IE 8 或更早版本的 IE 瀏覽器不支持 <header> 標(biāo)簽。
標(biāo)簽定義及使用說明
<header> 標(biāo)簽定義文檔或者文檔的一部分區(qū)域的頁眉。
<header> 元素應(yīng)該作為介紹內(nèi)容或者導(dǎo)航鏈接欄的容器。
在一個(gè)文檔中,您可以定義多個(gè) <header> 元素。
注釋:<header> 標(biāo)簽不能被放在 <footer>、<address> 或者另一個(gè) <header> 元素內(nèi)部。
HTML 4.01 與 HTML5之間的差異
<header> 標(biāo)簽是 HTML 5 中的新標(biāo)簽。
全局屬性
<header> 標(biāo)簽支持 HTML 的全局屬性。
事件屬性
<header> 標(biāo)簽支持 HTML 的事件屬性。