contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif <dl>...</dl>

A Definition List is a list of terms and corresponding definitions. Definition lists are typically formatted with the term flush-left and the definition, formatted paragraph style, indented after the term.

Examples

The following example defines two terms:

<dl>

<dt>bonk

<dd>In the MUD community, it has become traditional to express pique or censure by bonking the offending person. There is a convention that one should acknowledge a bonk by saying ‘oif!’ and a myth to the effect that failing to do so upsets the cosmic bonk/oif balance, causing much trouble in the universe.

<dt>mudhead

<dd>Commonly used to refer to a MUD player who sleeps, breathes, and eats MUD. Mudheads have been known to fail their degrees, drop out, etc., with the consolation, however, that they made wizard level.

</dl>

Attributes

COMPACT

The definition list type can take the COMPACT attribute, which suggests that a compact rendering be used, because the list items are small and/or the entire list is large.

Unless you provide the COMPACT attribute, Web Tracker will leave white space between successive <dt>, <dd> pairs.

If using the COMPACT attribute, the opening list element must be <dl compact>, which must be immediately followed by the first <dt> element: