<details>
Widely available since 2022-07-15
The <details>
element is a disclosure widget which can be expanded to reveal additional content. When closed, only the nested <summary>
element is visible.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 12 Released on 2011-06-07
- Chrome Android 18 Released on 2012-06-27
- Edge 79 Released on 2020-01-15
- Firefox 49 Released on 2016-09-20
- Firefox for Android 49 Released on 2016-09-20
- Safari 6 Released on 2012-07-25
- Safari on iOS 6 Released on 2012-09-10
Surveys
- State of HTML 2024: interactivity/interactivity_features question
- State of HTML 2024: features/all_features question
- State of HTML 2023: usage/html_functionality_features question
- State of HTML 2023: reading_list/reading_list question
- State of HTML 2023: interactivity/interactivity_features question
- State of HTML 2023: features/all_features question
Specifications
- HTML (#the-details-element), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature