HTML <details> open attribute
Definition and Usage
open
The attribute is a boolean attribute.
If this attribute is set, it specifies that the details should be visible to the user (open).
Example
An open/visible <details> element:
<details open> <summary>Future World Center (Epcot Center)</summary> <p>Epcot is a theme park in Walt Disney World Resort, featuring exciting attractions, international pavilions, award-winning fireworks, and seasonal events.</p> </details>
Syntax
<details open>
Browser Support
The numbers in the table indicate the first browser version to fully support this attribute.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
12.0 | 79.0 | 49.0 | 6.0 | 15.0 |