HTML and CSS Reference
In-Depth Information
Name
details
Synopsis
<details> . . . </details>
Not in HTML 4.01
. Represents a disclosure widget (an area that can be toggled open and
closed) that reveals additional information or controls. The
details
element may contain a
summary
element that provides a summary or title for the details, followed by additional flow
content. The
details
element should not be used for footnotes.
Notes
As of this writing,
details
and
summary
are only supported by Chrome 12+, Safari 6+, iOS
Safari 6+ Android 4.0+ and Blackberry 10+.
Usage
Categories:
Flow content, sectioning root, interactive content, palpable content
Permitted contexts:
Where flow content is expected
Permitted content:
One
summary
element followed by flow content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes