<dd>


HTML <dd> Tag

Instance

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>php中文网(php.cn)</title> 
</head>
<body>

<dl>
  <dt>Coffee</dt>
  <dd>Black hot drink</dd>
  <dt>Milk</dt>
  <dd>White cold drink</dd>
</dl>

</body>
</html>

Run Example»

Click the "Run Instance" button to view the online instance


Browser support

1000.png

All major browsers support< dd> tag.


Tag definition and usage instructions

<dd> Tags are used to describe items/names in a description list.

The<dd> tag is used with <dl> (defines a description list) and <dt> (defines an item/name).

Within the <dd> tag, you can place paragraphs, line breaks, images, links, lists, etc.


Differences between HTML 4.01 and HTML5

In HTML 4.01, the <dd> tag is used to describe an item in a definition list.

In HTML5, the <dd> tag is used to describe an item/name that describes a list.


Global attributes

<dd> tag supports HTML global attributes.


Event attributes

<dd> tag supports HTML event attributes.


Related Articles

HTML Tutorial: HTML List