ⓘ details – control for additional on-demand information NEW # T
The
details
element
represents a control from which the user can obtain additional
information or controls on-demand.
Permitted attributes #
- ⓘ
global attributes
- Any attributes permitted globally.
- ⓘ
open =
d:string "open" or d:string ""
#
- Specifies that the contents of the
details
element should be shown to the user.
- region =
#
- (detailed attribute description to come)
Additional constraints and admonitions #
-
The interactive element “details” must not
appear as a descendant of the “a” element.
-
The interactive element “details” must not
appear as a descendant of the “button” element.
Permitted parent elements #
any element that can contain
flow elements
DOM interface #
interface HTMLDetailsElement : HTMLElement {
attribute boolean open;
};
Typical default display properties #