References

Collection of references for web development.

HTML details tag

Description

The HTML <del> element represents additional information to the user, the user has the choice to hide the information.

Attributes

Attribute Value Description
open boolean Specifies whether the element should be visible to the user.

Example

<details>
	<summary>Created by David Deacon</summary>
	<p>The author that brought you Exploring with Dave.</p>
</details>

Example #2

<details open>
	<summary>Created by David Deacon</summary>
	<p>The author that brought you Exploring with Dave.</p>
</details>