UK[ˈsʌməri] US[ˈsʌməri]

n.Abstract, summary; summary, overview

adj.Summary, summary; immediate, immediate

Plural: summaries

html summary tag syntax

Role: Contains the title of the details element. The "details" element is used to describe detailed information about the document or document fragment.

Description: <summary> tag is a new tag in HTML 5.

Note: Please use it with the <details> tag. The title is visible and details are displayed when the user clicks on the title. The "summary" element should be the first child of the "details" element. The <summary> tag is only supported in Chrome and Safari 6.

html summary tag example

<!DOCTYPE HTML>
<html>
<body>

<details>
<summary>HTML 5</summary>
This document teaches you everything you have to learn about HTML 5.
</details>

</body>
</html>

Run Instance»

Click the "Run Instance" button to view the online instance

<!DOCTYPE HTML>
<html>
<body>

<details>
<summary>西门大官人</summary>
西门大官人是php中文网的高级讲师,拥有7年的php开发经验。
</details>

</body>
</html>

Run instance»

Click the "Run instance" button to view the online instance