html <details> 标签
实例
关于文档的细节:
<details> <summary>copyright 2011.</summary> <p>all pages and graphics on this web site are the property of 硕编程.</p> </details>
亲自试一试
浏览器支持
目前只有 chrome 和 safari 6 支持 <details> 标签。
定义和用法
<details> 标签用于描述文档或文档某个部分的细节。
浏览器支持
目前只有 chrome 支持 <details> 标签。
html 4.01 与 html 5 之间的差异
<details> 标签是 html 5 中的新标签。
提示和注释
提示:与 <summary> 标签 配合使用可以为 details 定义标题。标题是可见的,用户点击标题时,会显示出 details。
属性
| open | open | 定义 details 是否可见。 |
全局属性
<details> 标签支持 html 中的全局属性。
事件属性
<details> 标签支持 html 中的事件属性。
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!