Code has been added to clipboard!

HTML dt Tag

Reading time 1 min
Published Mar 19, 2019
Updated Oct 1, 2019

HTML dt: Main Tips

  • The HTML <dt> element defines the name of a term in a definition list (created with <dl> tag).
  • The <dd> indicates the definition of the term. Together with <dt> element, they form a pair of a term and an explanation.

Use of dt

<dt> HTML defines a term included either in a description or a definition list. It has to be inside the <dl> element.

Example
<dl>
  <dt>Aeroplane</dt>
  <dd>A vehicle used for air transportation.</dd>
  <dt>Car</dt>
  <dd>A vehicle used for road transportation.</dd>
</dl>

Note: web browsers by default provide good indentation for the description and the related terms in a description list.

When it is followed by additional <dt> or <dd>, this element does not need the closing </dt> tag.

Remember: the HTML <dt> tag does not accept any special attributes. However, it supports all global attributes.

Browser Support

Chrome
All
Edge
All
Firefox
1+
IE
All
Opera
All
Safari
All

Mobile Browser Support

Chrome
All
Firefox
4+
Opera
All
Safari
All