HTML <dt> Tag.

Example

A description list, with terms and descriptions :

 <dl>
  <dt>Coffee</dt>
  <dd>Black hot drink</dd>
  <dt>Milk</dt>
  <dd>White cold drink</dd>
</dl> 
Execute Code

Definition and Usage

The <dt> tag defines a term/name in a description list.

The <dt> tag is used in conjunction with <dl> (defines a description list) and <dd> (describes each term/name).


Browser Support

Element Chrome Internet Explorer Firefox Safari Opera
<dt> Yes Yes Yes Yes Yes

Differences Between HTML 4.01 and HTML5

In HTML 4.01, the <dt> tag defines an item in a definition list.

In HTML5, the <dt> tag defines a term/name in a description list.


Default CSS Settings

Most browsers will display the <dt> element with the following default values :

Example

dt {
    display: block;
}
Execute Code