<dl> Description:
The <dl> element defines definition lists.
<dl> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 3, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV/MSN TV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0: XHTML List Module
<dl> Attributes:
- class (optional)
- compact (optional)
- dir (optional)
- id (optional)
- lang (optional)
- onclick (optional)
- ondblclick (optional)
- onkeydown (optional)
- onkeypress (optional)
- onkeyup (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- style (optional)
- title (optional)
<dl> End Tag:
</dl> REQUIRED
Contents:
List elements. The following tags are valid within the <dl> tag:
dd, dt
<dl> Valid Context:
The <dl> tag is valid within the following tags:
body
<dl> Usage:
- The compact attribute displays differently on different browsers. Always check the look before using it.
- While some editors use the dl tags to indent text, this is not a syntactically correct use of HTML. Use style sheets instead.
- Definition lists are most commonly used in glossary's and indexes, but can be used anywhere that a short section of text is followed by a longer segment.
- The dl list is an easy way to create custom bullets. Simply place an icon image after the dt tag.
<dl> Special Notes:
More <dl> Information:

