<details>
Widely available
The <details>
element is a disclosure widget which can be expanded to reveal additional content. When closed, only the nested <summary>
element is visible.
To learn more, see
<details>: The Details disclosure element at MDN.
Compatibility (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
Specifications
- HTML Standard (#the-details-element), from HTML Workstream (WHATWG).