Discover how a simple HTML tag can make your lists clearer and your life easier!
Why Description lists in HTML? - Purpose & Use Cases
Imagine you are creating a glossary page for a website. You write each term and its explanation by typing the term in bold, then the explanation below it, repeating this for every entry.
If you want to add a new term in the middle or change the layout, you must manually adjust spacing and formatting for every entry. It's easy to make mistakes and the page looks inconsistent.
Description lists let you group terms and their descriptions semantically. The browser handles the layout and spacing, so your content stays organized and easy to update.
Term 1: Definition 1 Term 2: Definition 2
<dl> <dt>Term 1</dt> <dd>Definition 1</dd> <dt>Term 2</dt> <dd>Definition 2</dd> </dl>
You can create clear, accessible lists of terms and descriptions that adapt well to different devices and screen readers.
On a product page, you list features and their explanations using a description list so users quickly understand what each feature means.
Description lists group terms and their explanations clearly.
They save time by handling layout automatically.
They improve accessibility and readability.