Search w3schools.com:

SHARE THIS PAGE

HTML <dl> Tag


Example

A description list, with terms and descriptions:

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

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <dl> tag is supported in all major browsers.


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).


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.


Global Attributes

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


Event Attributes

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


Related Pages

HTML tutorial: HTML Lists



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]