当前阅读教程:HTML5入门电子教程 > HTML5 header 元素 | |
阅读(22555525) 收藏 赞(5685) 分享 | |
上一篇: HTML5 aside 元素 | 下一篇: HTML5 footer 元素 |
<header>元素描述了文档 的头部区域 <header>元素主要用于定义内容的介绍展示区域. 在页面中你可以使用多个<header> 元素. 以下实例定义了文章的头部,下面我们来看下在网页中的效果,示例 代码如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</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> 效果如图8-15。 |
|
上一篇: HTML5 aside 元素 | 下一篇: HTML5 footer 元素 |