The <dt> element describes a term found inside a <dl> element. It usually comes with at least one corresponding <dd> details element.


<!-- <dd> detail(s) here -->

In order to render correctly, the <dt> element must be placed inside a <dl> element.


In the example below, the <dt> element is used (and highlighted with some styling):

<!DOCTYPE html>
<!-- Styles are omitted in this example. -->
<dt class="term">Aardvark</dt>
<dd class="detail">
A large burrowing African mammal that feeds on ants and termites with
its long sticky tongue.

The following output would be rendered:

Example of d t tag


Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn HTML on Codecademy