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

HTML<details>标签

html <details> 标签

  • <del>

实例

关于文档的细节:

<details>
<summary>copyright 2011.</summary>
<p>all pages and graphics on this web site are the property of 硕编程.</p>
</details>

亲自试一试

浏览器支持

元素 chrome ie firefox safari opera
<details> 12.0 79.0 49.0 6.0 15.0

定义和用法

<details> 标签用于描述文档或文档某个部分的细节。

html 4.01 与 html 5 之间的差异

<details> 标签是 html 5 中的新标签。

提示和注释

提示:与 <summary> 标签 配合使用可以为 details 定义标题。标题是可见的,用户点击标题时,会显示出 details。

属性

new : html5 中的新属性。

属性 值 描述
open open 定义 details 是否可见。

全局属性

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

事件属性

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

相关页面

html dom 参考手册:details 对象

  • <del>

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