🚨 Get Your Free NFT Certificate Mint by Completing the Web3 Exam! START NOW

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.
DataCamp
Pros
  • Easy to use with a learn-by-doing approach
  • Offers quality content
  • Gamified in-browser coding experience
  • The price matches the quality
  • Suitable for learners ranging from beginner to advanced
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable
Udacity
Pros
  • Simplistic design (no unnecessary information)
  • High-quality courses (even the free ones)
  • Variety of features
Main Features
  • Nanodegree programs
  • Suitable for enterprises
  • Paid Certificates of completion
Udemy
Pros
  • Easy to navigate
  • No technical issues
  • Seems to care about its users
Main Features
  • Huge variety of courses
  • 30-day refund policy
  • Free certificates of completion

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

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

Mobile Browser Support

Browser image
Chrome
All
Browser image
Firefox
4+
Browser image
Opera
All
Browser image
Safari
All