CSS Portal

HTML <dt> Tag

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!

Description

The <dt> element, short for definition term, is used to represent a term or name in a description list. A description list is a collection of terms and their corresponding descriptions, created with the <dl> element, where <dt> elements define the terms and <dd> elements provide their definitions.

The <dt> tag is typically paired with one or more <dd> elements to describe the term in detail. A single <dt> can be followed by multiple <dd> elements if the term has more than one associated description. Conversely, multiple <dt> elements can appear before a single <dd> if a definition applies to several terms.

The <dt> element is purely semantic - it gives meaning to the content, indicating that it represents a concept, name, or term, rather than defining its visual appearance. By default, browsers render <dt> text in bold to differentiate it from the definition text in <dd>, but this styling can be customized using CSS.

Example:

<dl>
  <dt>HTML</dt>
  <dd>A markup language used to structure content on the web.</dd>

  <dt>CSS</dt>
  <dd>A style sheet language used to design the appearance of web content.</dd>

  <dt>JavaScript</dt>
  <dd>A programming language that enables dynamic behavior on web pages.</dd>
</dl>

In this example:

  • Each <dt> specifies a term (HTML, CSS, JavaScript).
  • Each <dd> provides the description for the corresponding term.

The <dt> element enhances accessibility and semantic clarity, allowing assistive technologies to understand the relationship between terms and their descriptions. It is also useful for SEO, as it conveys structured information about the content on a page.

Properties

Permitted Parents
Before a <dt> or a <dd> element, inside a <dl> or a <div> that is inside a <dl>.
Content
Inline and text
Start/End Tags
Start tag: optional, End tag: optional

Example

<dl>
<dt>HTML</dt>
<dd>A markup language used to structure content on the web.</dd>

<dt>CSS</dt>
<dd>A style sheet language used to design the appearance of web content.</dd>

<dt>JavaScript</dt>
<dd>A programming language that enables dynamic behavior on web pages.</dd>
</dl>

Attributes

None

Global Attributes

The <dt> tag also supports the Global Attributes in HTML5

Event Attributes

The <dt> tag also supports the Event Attributes in HTML5

Browser Support

The following information will show you the current browser support for the HTML <dt> tag. Hover over a browser icon to see the version that first introduced support for this HTML tag.

This tag is supported by all modern browsers.
Desktop
Chrome
Edge
Firefox
Opera
Safari
Tablets & Mobile
Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-

Last updated by CSSPortal on: 26th December 2025

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!