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.
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
Coursera
Pros
  • Professional service
  • Flexible timetables
  • A variety of features to choose from
Main Features
  • Professional certificates of completion
  • University-level courses
  • Multiple Online degree programs
Datacamp
Pros
  • Great user experience
  • Offers quality content
  • Very transparent with their pricing
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable

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

Latest Udacity Coupon Found:

Verified STAFF PICK

75% OFF COURSES

Udacity Black Friday Offer

The best time to save on Udacity courses is now - follow this coupon to access a 75% Udacity Black Friday discount & enjoy learning at a very low cost!

Expiration date: 28/02/2021
3176 People Used
Only 97 Left
Rating
5.0