HTML tag
Example
Use
<
details
<
summaryEpcot Center
summary
<
p
Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.
p
details
Try it »
Browser support
The numbers in the table indicate the first browser version number that supports the element.
| Element | |||||
|---|---|---|---|---|---|
| 12.0 | 79.0 | 49.0 | 6.0 | 15.0 |
Tag Definition and Usage Notes
The ](tag-details.html) element defines a visible heading. When the user clicks the heading, the details are displayed.
The tag is new in HTML5.
Differences between HTML 4.01 and HTML5
The tag is new in HTML5.
Tips and Notes
Note:
The element should be the
first child element of the element.
Global Attributes
The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).
Event attribute
The tag supports [HTML Event Attributes](/tags/ref-eventattributes.html).
first child element of the element.
The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).