🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Expert Masterclasses.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.
REFERENCEhtml

html Documentation

LOADING ENGINE...

Definition List Tags

Learn to create semantic glossaries and metadata lists using dl, dt, and dd.

definitions.html
<dl>
<dt>
Coffee
</dt>
<dd>
Black hot drink.
</dd>
</dl>
definition_list.html
1 / 11
📜

Tutor:Sometimes we need to display a list of terms and their descriptions, like a glossary or a metadata list. HTML provides the Definition List for this purpose using the <dl> tag.


Definition Mastery

Unlock nodes by learning definition list tags.

Concept 1: The Wrapper

The <dl> tag acts as the container. It tells the browser "this is a definition list".

System Check

What tag must enclose all terms and descriptions?

Community Holo-Net

Share Your Glossary

Built a complex metadata list? Share your semantic HTML examples.

Enjoying this guide?

Codesyllabus is 100% free and open-source. Support our mission, pay for server infrastructure, and fuel new tutorials by buying us a coffee!

Definition Lists: dl, dt, and dd

Author

Pascual Vila

Frontend Instructor.

While ordered (`<ol>`) and unordered (`<ul>`) lists are common, HTML offers a specialized list type for pairs of items: the Definition List.

The Wrapper: <dl>

The <dl> tag defines the start and end of the list. It doesn't contain the content directly but wraps pairs of terms and descriptions.

The Term: <dt>

The <dt> tag stands for Definition Term. This is the item being defined or the key in a key-value pair.

The Description: <dd>

The <dd> tag stands for Definition Description. It provides the meaning, detail, or value associated with the preceding term. You can even have multiple descriptions for a single term!

Definition Tags Glossary

<dl>
Defines the description list. It is the container for `dt` and `dd` elements.
<dt>
Defines a term/name in a description list.
<dd>
Describes the term/name in a description list.