HTML <dt> tag

Updated: 10/11/2017 by Computer Hope

HTML dt tagWhen writing in HTML, the <dt> tag, also known as the HTML definition term element, is a block level element used to designate a term within a description list (<dl>), of which it must be the child. The <dt> tag is usually followed the <dd> element. The following sections contain information about the <dt> tag, including an example of it in use, as well as related attributes and browser compatibility.

Example code

<dl>
<dt>Bear</dt>
<dd>Large brown mammal</dd>
<dt>Frog</dt>
<dd>Small green amphibian</dd>
</dl>

Example result

Bear
Large brown mammal
Frog
Small green amphibian

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <dt> tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
All versions All versions All versions All versions All versions

Browser, Compatibility, Web design terms