HTML and CSS Reference
In-Depth Information
Name
dl
Synopsis
<dl> . . . </dl>
Indicates a description list (also called an association list). Each item in the list is name-value
pair consisting of a name (
dt
) and its value (
dd
). Description lists may be used for terms and
definitions, questions and answers, or any other groups of name-value data. There may be
multiple
dt
elements for a
dd
or vice versa (see Examples).
Note
The
dl
element was defined as a “definition list” in HTML 4.01.
Usage
Categories:
Flow content, palpable content (if the element's children contain at least one name-value
pair)
Permitted contexts:
Where flow content is expected
Permitted content:
Zero or more groups, each consisting of one or more
dt
elements followed by one or more
dd
elements
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes