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 的事件屬性。