<details> Redirect 1

Introduced in HTML5

Summary

The HTML <details> Element is used as a disclosure widget from which the user can retrieve additional information.

Attributes

This element includes the global attributes.

open
This Boolean attribute indicates whether the details will be shown to the user on page load. If omitted the details will be hidden.

Example

<details>
  <summary>Some details</summary>
  <p>More info about the details.</p>
</details>

Note: Due to bug 591737, this example doesn't currently work on Firefox.

<summary>Some details</summary>

More info about the details.

Specifications

Specification Status Comment
WHATWG HTML Living Standard Living Standard  
HTML5 Candidate Recommendation  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 12 Not supported bug 591737 Not supported Not supported 6
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 4.0 Not supported bug 591737 Not supported Not supported Not supported

See also

Document Tags and Contributors

Contributors to this page: Sheppy
Last updated by: Sheppy,