📅  最后修改于: 2020-11-04 00:54:14             🧑  作者: Mango
的HTML
根据W3C HTML规范,它用作公开窗口小部件,用户可以从中检索其他信息或控件。
它与相关标签(称为
的标记包含该部分的摘要和标题。
HTML详细信息是HTML5中引入的新标签。
让我们举个例子来清楚地了解这一点。
HTML详细信息标记还支持HTML中的全局和事件属性。
Attribute | Description |
---|---|
open | It specifies that the details will be displayed (open) to the user. |
Copyright 2011-2014.
- by JavaTpoint. All Rights Reserved.
All content and graphics on this web site are the property of the javatpoint.com
Note: The details tag is currently only supported in Opera, Chrome, and in Safari 6.
输出:
注意:details标签目前仅在Opera,Chrome和Safari 6中受支持。
Element | ![]() |
![]() |
![]() |
![]() |
![]() |
Yes | No | No | Yes | Yes |