<dd>

The HTML <dd> element represents a description or value linked to a term in a <dl> (description list), commonly used for detailed information or explanations.

<dd> Tag

The <dd> HTML element provides a description or value corresponding to a term defined by the <dt> element within a description list <dl>.

Syntax

index.html
<dl>
  <dt>Term</dt>
  <dd>Description or definition of the term.</dd>
</dl>

dd Demo

The dl, dd, and dt elements

These three elements create a description list:

Coffee
Black hot drink
Milk
White cold drink
index.html
<h1>The dl, dd, and dt elements</h1>
<p>These three elements create a description list:</p>
<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 or name within a description list. It works alongside the <dl> element, which defines the list structure, and the <dt> element, which defines terms or names. The <dd> tag can contain text, paragraphs, links, images, lists, and other HTML elements to provide additional details.

Conclusion

The <dd> tag in HTML plays a key role in providing descriptions or definitions for terms defined by the <dt> tag within a <dl> (description list). It works seamlessly with <dl> and <dt> to structure and display term-based content. The <dd> tag can contain various HTML elements, allowing for flexible and detailed descriptions.