HTML <dt> tag
Updated: 11/13/2018 by Computer Hope
With HTML (hypertext markup language), the <dt> tag, also called the definition term element, is a block-level element designating a term in a description list (<dl>). The <dd> term must be the child of the description list. 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, and related attributes and browser compatibility.
Example of <dt> 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
All HTML tags support standard attributes that define the settings of an HTML element. Unlike other HTML tags, the <dt> tag has no unique attributes.
Compatibility
Edge | Internet Explorer | Firefox | Safari | Opera | Chrome |
---|---|---|---|---|---|
All versions | All versions | All versions | All versions | All versions | All versions |