ⓘ dl – description list # T
Permitted contents #
zero or more of: one or more dt elements, followed by
one or more dd elements
Permitted attributes #
- ⓘ
global attributes
- Any attributes permitted globally.
- aria =
#
- (detailed attribute description to come)
Additional constraints and admonitions #
-
The “compact” attribute on the “dl” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
Permitted parent elements #
any element that can contain
flow elements
Details #
The
dl
element represents a
description list,
which consists of zero or more term-description (name-value)
groupings; each grouping associates one or more
terms/names
(the contents of dt
elements) with one or more
descriptions/values
(the contents of dd
elements).
Typical default display properties #
dl {
display: block;
margin-before: 1em;
margin-after: 1em;
margin-start: 0;
margin-end: 0; }