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

HTML5 <dd> tag


May 03, 2021 HTML5


Table of contents


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

HTML5 <dd> tag HTML5 <dd> tag HTML5 <dd> tag HTML5 <dd> tag HTML5 <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.


Property

nowrap
If the value of this property is yes, the defined descriptive text will not wrap. The default is no.

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