HTML <dl> Tag.


A description list, with terms and descriptions :

  <dd>Black hot drink</dd>
  <dd>White cold drink</dd>
Execute Code

Definition and Usage

The <dl> tag defines a description list.

The <dl> tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name).

Browser Support

Element Chrome Internet Explorer Firefox Safari Opera
<dl> Yes Yes Yes Yes Yes

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.

Default CSS Settings

Most browsers will display the <dl> element with the following default values :


dl {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
Execute Code