HTML <summary> 标签
实例
使用 <summary> 元素:
    <details>
<summary>Copyright 1999-2011.</summary>
<p> - by Refsnes Data. All Rights Reserved.</p>
<p>All content and graphics on this web site are the property of the company Refsnes Data.</p>
</details>
<summary>Copyright 1999-2011.</summary>
<p> - by Refsnes Data. All Rights Reserved.</p>
<p>All content and graphics on this web site are the property of the company Refsnes Data.</p>
</details>
尝试一下 »
浏览器支持





目前,只有 Chrome 和 Safari 6 支持 <summary> 标签。
标签定义及使用说明
<summary> 标签为 <details> 元素定义一个可见的标题。 当用户点击标题时会显示出详细信息。
HTML 4.01 与 HTML5之间的差异
<summary> 标签是 HTML5 中的新标签。
提示和注释
注释:<summary> 元素应该是 <details> 元素的第一个子元素。
全局属性
<summary> 标签支持 HTML 的全局属性。
事件属性
<summary> 标签支持 HTML 的事件属性。

 HTML教程
HTML教程 HTML5教程
HTML5教程 HTML参考手册
HTML参考手册 HTML字符集
HTML字符集 HTML DOM 教程
HTML DOM 教程