HTML <dd> Tag

The <dd> tag contains a data description for a data term (<dt>) which is a term, a name, a title, or otherwise. Both are part of a description list (<dl>) which is a list of terms and their descriptions.




Three <dd> elements.
They contain museum locations in a description list.

National Gallery of Art
Washington DC, USA
Musée d'Orsay
Paris, France
Basel, Switzerland
  <dt>National Gallery of Art</dt>
  <dd>Washington DC, USA</dd>
  <dt>Musée d'Orsay</dt>
  <dd>Paris, France</dd>
  <dd>Basel, Switzerland</dd> 
dl = description list
dt = data term
dd = data description

Using <dd>

The <dd> tag specifies a description of the <dt> (data term) above it.

The preceding <dt> tag specifies a term, name, or title.

Both <dt> and <dd> tags must be wrapped inside a <dl> tag.

Note: The <dd> tag accepts text, as well as HTML elements such as paragraphs, images, and lists.

Attributes for <dd>

The <dd> element has no attributes, but it does accept global attributes.
The following are commonly used.

Attribute Value Description
id    value Provides the dd element with a unique identifier.
class    classnames Assigns one or more classnames to the dd element.
style    CSS-values Assigns CSS style values to the dd element.

For additional global attributes see our global attributes list.

Obsolete Attributes

Do not use the attribute listed below.  It is no longer valid on the dd tag in HTML5.

Attribute Description Alternative
nowrap Prevents the definition text from wrapping. CSS white-space: nowrap

List Tags

The <dd> tag is part of a group of tags that are used to create lists (i.e. lists of items) on web pages. This group is referred to as the List tag group. Together, these tags allow you to create comprehensive HTML lists.

Below are the list tags.

Element Description
<ul> Creates an unordered, bulleted list
<ol> Creates a numerically or alphabetically ordered list
<li> Defines a list item. Used in <ol> and <ul> elements
<dl> Defines a description list
<dt> Adds a term or name to a <dl> element
<dd> Adds a description of a term or name to a <dl> element

Browser support

Here is when <dd> support started for each browser:

1.0 Sep 2008
1.0 Sep 2002
1.0 Aug 1995
1.0 Jan 2006
1.0 Jan 2003

You may also like