HTML <dt> Tag
Description
The <dt>
HTML element is one of the three <dl>
, <dt>
, <dd>
elements for creating a list of descriptions. Each such list starts with a <dl>
container, which includes the <dt>
element creating the term and the <dt>
element defining the description of this term.
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>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</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 table will show you the current browser support for the HTML <dt>
tag.
Desktop | |||||
12 | 1 | 1 | 15 | 4 |
Tablets / Mobile | |||||
18 | 4 | 14 | 3.2 | 1 | 4.4 |
Last updated by CSSPortal on: 30th September 2023