Skip to: content, navigation

by Ian Lloyd

dd (HTML element)

Spec
Depr. Empty Version
No No HTML 2
Browser support full matrix
IE5.5+ FF1+ Saf1.3+ Op9.2+
Full Full Full Full

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

IE5.5Full
6.0Full
7.0Full
Firefox1.0Full
1.5Full
2.0Full
Safari1.3Full
2.0Full
3.0Full
Opera9.2Full
9.5Full

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.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters