description & Usage
<dl> stands for description list and is used to make a descriptive list.
In simple terms, it allows you to create a list of terms (various headings) along with a description for that term.
The <dl> tag has two child tags:
- The <dt> tag - Used to write terms/definitions. <dd> - Used to provide descriptions for the <dt> terms.
- The <dl> tag - consists of zero or more <dt> and <dd> pairs.
For more information, refer to the <dt> tag page and the <dd> tag page.
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<dl> |
Global Attributes
The <dl> tag supports the HTML Global Attributes.
Event Attributes
The <dl> tag supports the HTML Event Attributes.
Default CSS
Most browsers will display the <dl> tag with the following default style: