dd (HTML element)
Example
This example shows the
use of two dd elements to describe the term
“spam:”
<dl>
<dt>Spam</dt>
<dd>unsolicited email sent in the hope of increasing sales
of some product</dd>
<dd>a brand name for tinned meat comprising pork and ham</dd>
</dl>
- Type
- block-level element
- Contains
- block-level elements, inline elements
- Contained by
dl
Description
The dd is the second part of the
dt : dd pairing
that constitutes an item in a definition list (dl). While the dt contains
the term to be defined, the dd section of the pairing
contains the definition description content.
You
can use multiple dt and multiple dd
elements to describe the dt elements. The
dd element also differs from the dt
in that it can contain Block-level Elements
such as example headings and paragraphs.
Use This For …
The
dd element is applied to descriptive text that clearly
explains the meaning of the content contained within the preceding
dt element. This content can be formatted further using
headings (h1, h2, etc.),
paragraphs (p) and blockquotes, as well as Inline and Phrase Elements.
Compatibility
| IE | 5.5 | Full |
|---|---|---|
| 6.0 | Full | |
| 7.0 | Full | |
| Firefox | 1.0 | Full |
| 1.5 | Full | |
| 2.0 | Full | |
| Safari | 1.3 | Full |
| 2.0 | Full | |
| 3.0 | Full | |
| Opera | 9.2 | Full |
| 9.5 | Full |
Every browser listed supports this element type.
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

