The <details> tag is used to describe details about a document, or parts of a document.
Supported In HTML4: No
Supported In HTML5: Yes
HTML4 vs HTML5 Differences: The <details> tag is new in HTML 5.
Attributes
| Title | Values | Description | HTML4 Support | HTML5 Support |
| open | open | Defines if the details should be visible (present) or not (not present). | No | Yes |
Standard Attributes
All standard attributes are supported.
Event Attributes
All event attributes are supported.
HTML5 Tags
- a
- abbr
- acronym
- address
- applet
- area
- article
- aside
- audio
- b
- base
- basefont
- bdo
- big
- blockquote
- body
- br
- button
- canvas
- caption
- center
- cite
- code
- col
- colgroup
- command
- datalist
- dd
- del
- details
- dfn
- dir
- div