summary

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

n.Abstract, summary; summary, overview

adj.Summary, Summary; immediate, immediate

html5<summary> tag syntax

Function: The <summary> tag contains the title of the details element, and the "details" element is used to describe detailed information about the document or document fragment.

Note: Please use with <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.

html5<summary> tag example

<!DOCTYPE HTML>
<html>
<body>
<details>
<summary>HTML 5</summary>
php中文网欢迎你.
</details>
</body>
</html>
Run instance »

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