HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

details

Description

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

Syntax

HTML

<details attribute-name="attribute-value"></details>

Attributes

Global

NameValueDescription
namestringSpecifies the name of the group of mutually-exclusive details elements
openopen | emptySpecifies whether the details are visible

Examples

1 · name

2 · name · JS

3 · open · false

4 · open · true

5 · open · JS