Advertisement
❮ Previous: <datalist> Next: <del> ❯

<dd>

HTML <dd> (Description Details) Tag

Example

<dl>
  <dt>Apple</dt>
  <dd>A hard, round fruit with a smooth green, red or yellow skin</dd>
  <dt>Banana</dt>
  <dd>A curved fruit with yellow skin that grows in hot countries</dd>
  <dt>Manogo</dt>
  <dd>A tropical fruit that has a yellow and red skin and is yellow inside</dd>
</dl>

Try this code ❯

Meaning

The <dd> element indicates the definition of a term within a list of defined terms <dt> enclosed by a definition list <dl>.

Version: HTML 2, 3.2, 4, 4.01, 5


Standard Syntax

<dl>
    <dt>Description Term</dt>
    <dd>definition description</dd>
</dl>


Advertisement

Attributes

Attribute Value Description
nowrap no|yes (default value is no) if it's yes the definition text will not be wrap.

Global Attributes

<dd> element also supports the Global Attributes in HTML.


Event Attributes

<dd> element also supports the Event Attributes in HTML.


By Default CSS Value(s)

Most of the browsers will display the <dd> element with the following by default value(s)

dd {
  display: block;
  margin-left: 40px;
}

Related Tags:

<blockquote>,
<div>,
<dl>,
<dt>,
<figcaption>,
<figure>,
<hr>,
<li>,
<ol>,
<p>,
<pre> and
<ul>

❮ Previous: <datalist> Next: <del> ❯
Advertisement