<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



  • HTML5


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

Rendered Example

This HTML5 element is not yet supported in browsers.