details

FilterElements

<details> ... </details>

HTML5 only. Represents a disclosure widget (such as an area that can be toggled open and closed) that reveals additional information or controls. The details element may contain a summary element that provides a summary of the details. The details element is not intended to be used for footnotes.

Start/End Tags

Required/Required

Specifications

  • HTML5

open

Values: None in HTML. open="open" in XHTML5.
Specifies that the details should be in the open or revealed state when the document loads.
<details>
  <summary>Bio information</summary>
  <p>This is some information about the author the user might be interested in reading.</p>
</details>

Rendered Example

This HTML5 element is not yet supported in browsers.