使用
標簽添加的細節指定一個摘要。
示例
您可以嘗試運行以下代碼以在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>
登錄后復制
以上就是如何在HTML5中顯示給定元素的摘要?的詳細內容,更多請關注www.92cms.cn其它相關文章!






