HTML <dl> Tag
Description
The <dl>
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
- Any element that accepts flow content
- Content
- <dt> and <dd>
- Start/End Tags
- Start tag: required, End tag: required
Example
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
Attributes
None
Global Attributes
The <dl>
tag also supports the Global Attributes in HTML5
Event Attributes
The <dl>
tag also supports the Event Attributes in HTML5
Browser Support
The following table will show you the current browser support for the HTML <dl>
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