HTML <dt> Definition Term Tag Reference
The dt HTML tag stands for "definition term", used as part of HTML definition lists, together with definitions.
The dt HTML tag stands for "definition term", used as part of HTML definition lists, together with definitions.
The <dt> tag is part of the term/definition pair that comprises definition lists (<dl>..</dl>).
A definition list may only contain definition terms ( <dt>..</dt>) tags and corresponding definitions (<dd>..</dd>) tags. See examples below. (OK – they can also contain a list header ( <lh>..</lh>) tag, but not many people know or use these.)
When the <dl> tag was created as part of the original HTML definition, HTML was focused on marking up academic papers, where definitions of terms are commonplace. Today, HTML is used for loads more stuff, and people have found the <dl> tag useful for more than definitions. A lot of web designers argue that it’s OK to use definition lists for a range of name / value (and even name / value, value or name, name / value combos). A few will stick to the more narrow definition, but this is a bit silly.
<dt> is valid in all current versions of HTML and xHTML, and it should always have a closing </dt> tag.
Usually you’ll have terms & definitions in pairs, as below.
Looks like…
The specification seems to allow for more than one definition per term, or more than one term having the same definition, e.g.
Looks like…
You may also consider using:
Do you love our approach to crafting simple & effective web sites that just work for people?
We'd love to hear about your web strategy.
Contact one of our team today!
<dt>Do</dt>
<dd>A deer, a female deer</dd>
<dt>Re</dt>
<dd>A drop of golden sun</dd>
<dt>Mi</dt>
<dd>A name I call myself</dd>
</dl>