Easy Tutorial
❮ Canvas Imagedata Width Ref Eventattributes ❯

HTML <dl> Tag

Example

A description list with items and descriptions:

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

Browser Support

All major browsers support the <dl> tag.


Tag Definition and Usage

The <dl> tag defines a description list.

The <dl> tag is used with <dt> (defines items/names) and <dd> (describes each item/name).


Differences Between HTML 4.01 and HTML5

In HTML 4.01, the <dl> tag defines a definition list.

In HTML5, the <dl> tag defines a description list.


Global Attributes

The <dl> tag supports HTML's global attributes.


Event Attributes

The <dl> tag supports HTML's event attributes.


Related Articles

HTML Tutorial: HTML Lists

❮ Canvas Imagedata Width Ref Eventattributes ❯