Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <details> open Attribute

❮ HTML <details> tag

Example

An open/visible <details> element:

<details open>
  <summary>Copyright 1999-2014.</summary>
  <p> - by Refsnes Data. All Rights Reserved.</p>
  <p>All content and graphics on this web site are the property of the company Refsnes Data.</p>
</details>
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.

Attribute
open 12.0 79.0 49.0  6.0 15.0

Syntax

<details open>

❮ HTML <details> tag