<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
Specifications
- HTML Standard (#the-details-element), from HTML Workstream (WHATWG).