The HTML <dl></dl> element defines a definition list. This element is used in conjunction with <dt> (defines the item in the list) and <dd> (describes the item in the list).
Attribute
| Attribute | Value | Description |
|---|---|---|
compact |
Boolean | Forces definition description to appear in the same line as definition term. Works only in Internet Explorer. |
- Global Attributes
HTML example:
<dl>
<dt>Firefox</dt>
<dd>A free, open source, cross-platform, graphical web browser
developed by the Mozilla Corporation and hundreds of volunteers.</dd>
</dl>