May 04, 2021 HTML Reference Manual
Using the elements of the slt;details:
Currently, only Chrome and Safari 6 support the hashtags.
The label specifies additional details of the user's visible or hidden needs.
The label is used for users to turn on closed interactive controls. Any form of content can be placed in the label.
The contents of the element are not visible to the user unless the open property is set.
The label is the new label in HTML5.
Tip: You can define a title for the details when used with the hashtag. The title is visible, and when the user clicks on the title, details are displayed.
New : The new property in HTML5.
属性 | 值 | 描述 |
---|---|---|
open New | open | 规定 details 是否可见。 |
The label supports the global properties of HTML.
The tag supports the event properties of HTML.