HTML <dt> Tag

The <dt> tag is used to denote a term in the list of definitions/descriptions. (Learn more about HTML lists). It is used together with the <dd> and <dl> tags. The <dl> tag creates a list, and the <dd> gives a description/definition of the term.

Syntax

The <dt> tag comes in pairs; the content is being written between the opening (<dt>) and the closing (</dt>) tags.

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Title of the document</title>
  </head>
  <body>
    <dl>
      <dt>Hypertext</dt>
      <dd> A system of text pages that have cross-references.</dd>
      <dt>Hyperlink</dt>
      <dd> A part of a hypertext document that references another item.</dd>
    </dl>
  </body>
</html>

Result

Attributes

The <dt> tag supports the Global attributes and the Event Attributes.

Browser support