Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML <dd> tag


May 04, 2021 HTML Reference Manual


Table of contents


HTML

The element is an HTML description element that appears as a child element of the description list (the element) and must be followed by an element of the HTML description.

Description list with items and descriptions:

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

Try it out . . .

Browser support

HTML <dd> tag HTML <dd> tag HTML <dd> tag HTML <dd> tag HTML <dd> tag

All major browsers support the hashtag.


Label definition and instructions for use

The label is used to describe items/names in a list of descriptions.

The labels are used with the hashtags .lt;dl> (define a list of descriptions) and .lt;dt> (define items/names).

You can place paragraphs, line changes, pictures, links, lists, and more in the label.


The difference between HTML 4.01 and HTML5

In HTML 4.01, the label is used to describe an entry in a defined list.

In HTML5, the label is used to describe the item/name of a list.


Global properties

The label supports the global properties of HTML.


The event property

The tag supports the event properties of HTML.


Related articles

HTML tutorial: HTML list