html5 <aside>标签用来表示跟当前页面的内容没有很相关的部分,通常用于显示侧边栏或者补充的内容,例如:目录、索引等。
<p>my family and i visited the epcot center this summer.</p>
<aside>
<h4>epcot center</h4>
<p>the epcot center is a theme park in disney world, florida.</p>
</aside>
尝试一下 »
浏览器支持
ie 9+、firefox、opera、chrome 和 safari 都支持 <aside> 标签。
注释: ie 8 或更早版本的 ie 浏览器不支持 <aside> 标签。
标签定义及使用说明
<aside> 标签定义 <article> 标签外的内容。
aside 的内容应该与附近的内容相关。
html 4.01 与 html5之间的差异
<aside> 标签是 html5 的新标签。
提示和注释
提示:<aside> 的的内容可用作文章的侧栏。
注意: 不要将 <aside> 元素去标记括号内的文本,因为这种类型的文本(即括号内的文本)被认为是其内容流的一部分。
全局属性
<aside> 标签支持 html 的全局属性。
事件属性
<aside> 标签支持 html 的事件属性。