Latest web development tutorials

HTML <dl> tag

Examples

With a descriptive list of items and description:

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

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support <dl> tag.


Tag definitions and instructions

<Dl> tag defines a list of descriptions.

<dl> tag and <dt> (defining the project / name) and <dd> (description of each item / name) used together.


Differences between HTML 4.01 and HTML5

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

In HTML5, <dl> tag defines a list of descriptions.


Global Properties

<dl> tag supports HTML global properties .


Event Properties

<dl> tag supports HTML event properties .


related articles

HTML Tutorial: HTML list