dt
elementdd
or dt
elements inside dl
elements.HTMLElement
.The dt
element represents the term, or name, part of a term-description group in a description list (dl
element).
The dt
element itself, when used in a dl
element, does not indicate that its contents are a term being defined, but this can be indicated using the dfn
element.
This example shows a list of frequently asked questions (a FAQ) marked up using the dt
element for questions and the dd
element for answers.
<article> <h1>FAQ</h1> <dl> <dt>What do we want?</dt> <dd>Our data.</dd> <dt>When do we want it?</dt> <dd>Now.</dd> <dt>Where is it?</dt> <dd>We are not sure.</dd> </dl> </article>