Tag <dl>

Image Tutorials

Example

A definition list:

<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

1. Definition and Usage

The <dl> tag defines a definition list.

The <dl> tag is used in conjunction with <dt> (defines the item in the list) and <dd> (describes the item in the list).


2. Differences Between HTML 4.01 and HTML5

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

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


3. Standard Attributes

The <dl> tag supports the Standard Attributes in HTML.


4. Event Attributes

The <dl> tag also supports the Standard Event Attributes in HTML.

Rate article