当前位置:首页 > HTML5教程 > HTML5技巧

HTML <aside> 标签

html <aside> 标签

  • <article>

实例

<p>me and my family visited the epcot center this summer.</p>
<aside>
<h4>epcot center</h4>
the epcot center is a theme park in disney world, florida.
</aside>

亲自试一试

浏览器支持

元素 chrome ie firefox safari opera
<aside> 6.0 9.0 4.0 5.0 11.1

internet explorer 9+, firefox, opera, chrome 以及 safari 支持 <aside> 标签。

注释:internet explorer 8 以及更早的版本不支持 <aside> 标签。

定义和用法

<aside> 标签定义其所处内容之外的内容。

aside 的内容应该与附近的内容相关。

html 4.01 与 html 5 之间的差异

<aside> 标签是 html 5 的新标签。

提示和注释:

提示:<aside> 的内容可用作文章的侧栏。

全局属性

<aside> 标签支持 html 中的全局属性。

事件属性

<aside> 标签支持 html 中的事件属性。

  • <article>

【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!