W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y

<DL>...</DL>

Description

Create a definition list. This is a list where each item consists of two parts. The first part is the term being defined, which is specified using the DT element. And second, the description of the term, defined with the DD element.

DTD

<!ELEMENT DL - - (DT|DD)+              -- definition list --><!ATTLIST DL
  %attrs;                              -- %coreattrs, %i18n, %events --
>
from the HTML 4.0 DTD, "Copyright © W3C, (MIT, INRIA, Keio). All Rights Reserved."

Attributes

Core attributes: class id style title
Internationalization attributes: dir lang
Events: onclick ondblclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup

W3 3.2y
4.0n
NS 3.0n
4.0y
IE 3.0n
4.0y
TV 1.2n
2.1n
COMPACT
Show the list in a compact way, taking up less space.

Examples

Source
This is what a definition list look like :
<DL>
<DT>Term
<DD>This is the definition of the term. So normally here is where
you would explain what the earlier mentioned term means.
<DT>Term no. 2
<DD>Definition of the second term.
</DL>
 
Result
This is what a definition list look like :
Term
This is the definition of the term. So normally here is where you would explain what the earlier mentioned term means.
Term no. 2
Definition of the second term.
 
Source
The same list but now compact :
<DL compact>
<DT>Term
<DD>This is the definition of the term. So normally here is where
you would explain what the earlier mentioned term means.
<DT>Term no. 2
<DD>Definition of the second term.
</DL>
 
Result
The same list but now compact :
Term
This is the definition of the term. So normally here is where you would explain what the earlier mentioned term means.
Term no. 2
Definition of the second term.
Statistics