
使用
标签添加的细节指定一个摘要。
示例
您可以尝试运行以下代码以在HTML5中显示摘要 −
<!DOCTYPE html>
<html>
<head>
<title>HTML Summary Tag</title>
</head>
<body>
<details>
<summary>Some More Information</summary>
<p>Providing more info about the details here.</p>
</details>
</body>
</html>

