<details>
HTML <details> Element Reference
The HTML <details> element creates a disclosure widget that can reveal or hide additional information.
Categories
- Interactive
Tag omission
Consult the HTML Living Standard for the precise tag-omission rules.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical details element example.
<details>
<summary>System requirements</summary>
<p>A modern web browser is required.</p>
</details>