dt
The HTML <dt> element marks a term, name, or question in a <dl> description list. Its matching explanation or value belongs in <dd>.
What you will learn
- What a
dtterm represents - How to pair
dtwithddinsidedl - How the pattern works for glossaries, FAQs, and specifications
Basic structure
<dl>
<dt>HTML</dt>
<dd>A markup language for structuring web documents.</dd>
</dl>
Think of dt as the label and dd as the information that explains or gives a value for that label. A single term may have several descriptions when the content genuinely belongs to the same term.
Common patterns
- Glossary: use the word as
dtand its meaning asdd. - FAQ: use the question as
dtand the answer asdd. - Specifications: use a property name as
dtand its value asdd.