HTML < dd > Tag - Learn About Website | DaddyFile

0

HTML <dd> Tag

Example

A description list, with terms and descriptions:


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

Definition and Usage

The <dd> tag is used to describe a term/name in a description list.
The <dd> tag is used in conjunction with <dl> (defines a description list) and <dt>(defines terms/names).
Inside a <dd> tag you can put paragraphs, line breaks, images, links, lists, etc.

Differences Between HTML 4.01 and HTML5

In HTML 4.01, the <dd> tag was used to describe an item in a definition list.
In HTML5, the <dd> tag is used to describe a term/name in a description list. 

Post a Comment

 
Top