Skip to content
Tutorials Center
My learning

Topics

HTML Reference Β· Text Content

The <dd> element

Reference for the HTML <dd> element: the value or description in a description list, pairing it with <dt>, tag omission rules, examples and technical details.

The <dd> element holds the value part of a group in a description list (<dl>): a definition, an answer, a setting or any detail that belongs to the names in the preceding <dt> elements. A group can have several <dd> elements when one name has more than one value.

HTML
<dl>
  <dt>Opening hours</dt>
  <dd>Mon–Fri, 9:00–17:00</dd>
</dl>

Try it

Answers and multiple values

A <dd> can hold full block content: paragraphs, lists, even images.

Attributes

This element has no attributes of its own. It accepts the global attributes.

Usage notes

  • Must follow a term. A <dd> sits directly inside a <dl> (or inside a <div> that is a child of a <dl>) and comes after at least one <dt> of the same group.
  • Indentation is just a default. Browsers indent <dd> with a left margin of about 40px. Remove it with margin-inline-start: 0 if your design doesn't need it; the structure stays the same.
  • Not an indent tool. Never use <dd> (or a <dl>) outside a description list just to indent text.
  • Optional end tag. The parser closes a <dd> when the next <dd> or <dt> starts, or when the list ends. Writing the end tag is still clearer.

Technical summary

Content categories None
Permitted content Flow content
Tag omission Start tag required. The end tag may be omitted if the element is immediately followed by another <dd> or a <dt>, or if there is no more content in the parent element
Permitted parents A <dl>, or a <div> that is a child of a <dl>; it must come after a <dt> or <dd>
Implicit ARIA role definition
DOM interface HTMLElement
Default display block (with a start margin of about 40px)

Browser support

Supported in every browser.