Close Menu

Description List

What is a Description List?

In HTML, a description list (also known as a definition list) is used to create a list of terms and their corresponding descriptions or definitions. It is denoted by the <dl> tag, which stands for “description list.”

A description list consists of two main elements:

  1. Description Term (<dt>): It represents the term or item being described or defined.
  2. Description Details (<dd>): It provides the description or definition for the corresponding term.

Here’s an example of how a description list is structured in HTML:

  • <dl>
  • <dt>Term 1</dt>
    <dd>Description or definition of Term 1.</dd>
    <dt>Term 2</dt>
    <dd>Description or definition of Term 2.</dd>
    <dt>Term 3</dt>
    <dd>Description or definition of Term 3.</dd>

When rendered in a web browser, the description list is typically displayed with the terms (<dt>) on the left or above the corresponding descriptions (<dd>), depending on the styling applied.

Description lists are commonly used for various purposes, such as:

  • Glossaries or definitions of terms
  • Metadata or key-value pairs
  • FAQ (Frequently Asked Questions) sections
  • Displaying a list of attributes or properties with their corresponding values

If you have a Dirigible Website, you can easily insert a description list using the Structured List Block.