Tutorials References Exercises Bootcamp Menu
Sign Up Create Website Get Certified Upgrade

HTML <details> open Attribute

❮ HTML <details> tag


An open/visible <details> element:

<details open>
  <summary>Epcot Center</summary>
  <p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
Try it Yourself »

Definition and Usage

The open attribute is a boolean attribute.

When present, it specifies that the details should be visible (open) to the user.

Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

open 12.0 79.0 49.0  6.0 15.0


<details open>

❮ HTML <details> tag