details

< html‎ | elements
Jump to: navigation, search

Summary

The details element represents a disclosure widget from which the user can obtain additional information or controls.

Example

<details open>
	<p>Foo</p>
	<p>Bar</p>
	<p>Peter</p>
</details>

Attributes

open

If the open attribute is set on the details tag, it will be open when it's rendered.

Browser support

The <details> tag is currently only supported in Chrome and in Safari on Mac.

Specification

Html5 spec