HtmlTutor.Spogel.com

HTML Reference Guide

DL

<DL
CLASS=type
COMPACT
ID=value
STYLE=css1 properties>
</DL>

Specifies that the following block is a definition list, that is, an automatically formatted list with terms on the left and their definitions indented below. The end-tag is required.

See DT (directory term) and DD (directory definition) for a description of elements that appear within a directory list.

CLASS=type
Indicates the class to which the element belongs.
COMPACT
Specifies that the list should be organized in a compact style. Each entry appears closer together.
ID=value
Specifies a unique value for the element over the document.
STYLE=css1 properties
Specifies style information.

Example

<DL>

<DT>Cat

<DD> A small domesticated mammal.

<DT>Lizard

<DD>A reptile generally found in dry areas.

</DL>

Back to Home