The DL tag encloses items that make up a definition list or list of name/value pairs.
DL Web Browser Support:
- AvantGo Palm OS
- AvantGo Windows CE
- Chrome 1, 2, 3, 4, 5
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10
- Safari 1, 2, 3, 4, 5
- WebTV/MSN TV
DL End Tag:
DL Valid Context:
A typical definition list
<dd>An abbreviation of the term “hypertext markup language”</dd>
DL Special Notes:
- While some editors use the DL tags to indent text, this is not a syntactically correct use of HTML. Use margin and padding style properties instead.
- Definition lists are most commonly used in glossaries and indexes, but can be used anywhere that a short section of text is followed by a longer segment.
- Another common use of definition lists is for name=value pairs in programming.
- The DL list is an easy way to create custom bullets. Simply place an icon image after the DT tag and use CSS to position the elements as you like them.