Home Menu

details

The details HTML element represents a control from which the user can obtain additional information or controls on-demand.

Syntax

HTML

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

Attributes

Global

Name Value Description
open open | empty Specifies that the contents of the details element should be shown to the user

Examples

open | false

open | true

JS

Internal

summary

External

Web Hypertext Application Technology Working Group (WHATWG)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms