CSS Portal

HTML <dl> Tag

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!

Description

The <dl> tag in HTML represents a description list, which is a way to group a set of terms and their corresponding descriptions. Unlike standard lists (<ul> for unordered lists or <ol> for ordered lists), a description list is specifically used to associate pairs of items, typically a term with a definition, explanation, or value.

Inside a <dl> element, you use <dt> (definition term) elements to represent the term or name, and <dd> (definition description) elements to represent the description or explanation of that term. A single term can have multiple descriptions, and multiple terms can share the same description if needed.

Description lists are often used in contexts such as:

  • Glossaries of terms
  • Metadata or key-value pairs
  • FAQ sections
  • Specifications or attribute lists

By default, browsers render <dt> elements in bold and <dd> elements with an indented layout, visually distinguishing terms from their descriptions. However, these styles can be customized easily using CSS to fit the design of your page.

Example usage:

<dl>
  <dt>HTML</dt>
  <dd>A markup language used for structuring content on the web.</dd>
  
  <dt>CSS</dt>
  <dd>A style sheet language used to describe the presentation of web pages.</dd>
  
  <dt>JavaScript</dt>
  <dd>A programming language used to create dynamic and interactive web content.</dd>
</dl>

In this example, each term (<dt>) is clearly paired with a description (<dd>), providing a semantically meaningful way to convey structured information.

Properties

Permitted Parents
Any element that accepts flow content
Content
<dt> and <dd>
Start/End Tags
Start tag: required, End tag: required

Example

<dl>
<dt>HTML</dt>
<dd>A markup language used for structuring content on the web.</dd>

<dt>CSS</dt>
<dd>A style sheet language used to describe the presentation of web pages.</dd>

<dt>JavaScript</dt>
<dd>A programming language used to create dynamic and interactive web content.</dd>
</dl>

Attributes

None

Global Attributes

The <dl> tag also supports the Global Attributes in HTML5

Event Attributes

The <dl> tag also supports the Event Attributes in HTML5

Browser Support

The following information will show you the current browser support for the HTML <dl> tag. Hover over a browser icon to see the version that first introduced support for this HTML tag.

This tag is supported by all modern browsers.
Desktop
Chrome
Edge
Firefox
Opera
Safari
Tablets & Mobile
Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-

Last updated by CSSPortal on: 26th December 2025

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!