HTML: The Markup Language Reference

dldescription list # T

The dl element represents a description list.

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.

Additional constraints and admonitions #

Tag omission #

A dl element must have both a start tag and an end tag.

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).

DOM interface #

interface HTMLDListElement : HTMLElement {};

Typical default display properties #

dl {
display: block;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
margin-start: 0;
-webkit-margin-end: 0; }