Main Index |
Top Of Tree |
Tag Index |
Tag History
- What is it?
- The Definition List element represents a list of terms and
corresponding definitions. Typical formatting of a definition list is
flush left for the term (DT) with the definition (DD) indented on a
separate line (block formatted.) An alternate method of display is to
have the DD item indented on the same line as the DT to more strongly
associate the term/definition relationship.
The contents of this list structure is a sequence of DT and DD terms
(this is the only list structure in which the DT and DD tag are allowed
to appear, and they are usually found in pairs.) Multiple DT terms may be
paired with a single DD term, but should not be paired with multiple
consecutive DD elements. As with other list content tags, the closing
</dt> and
</dd> tags are optional, as they are
implied by the subsequent list items or end
</dl> tags.
- Attributes
- Compact
- 2 | 3
| 3.2 | IE
| M | N
- Required? No
- Description:
This is a stand alone attribute flag that indicates a compact rendering be
used if possible, possibly because the list items are small or the
entire list is large.
- Values: NA
Style Sheet Attributes
[More on Cascading Style Sheets]
- Class
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This represents an assigned semantic classification grouping(s) for the
current tag.
- Values:
Given as a comma separated list of alphanumeric characters. Class names
may contain spaces (multiple consecutive spaces treated as a single
space.)
- ID
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This assigns an alpha-numeric identifier that is unique
to this tag instance. Style sheets may use this attribute to reference
the current instance of this tag. Hyperlinks may also use this identifier
to serve as a destination.
- Values:
An alphanumeric string - initial character must be a letter followed
by alphabetic characters, digits, "-" or "."
characters. The allowable set of alpha-characters is restricted to the
A-Z and a-z set.
- Style
- 2 | 3
| 3.2 | IE3B1
| M | N4B3
- Required? No
- Description:
This attribute is a text string that provides rendering style
information for the current tag.
- Values:
Please see the description of
inline styles for more
information on how to use this attribute and its
possible values.
- Example
- <dl>
<dt>Term 1
<dd>Term 1 definition
<dt>Term 2
<dd>Term 2 definition
</dl>
- Parent Model
- %Block Format
Parent% |
%Multimedia
Parent% |
<basefont> |
<body>
- Content Model
- <dd> |
<dt>
Tips & Tricks
- Despite the above caveat to not have multiple consecutive DD
elements, most browsers will have no problem with it.
- One of the most common usages for this list structure is solely
to achieve indentation capability [this document is an example.]
Browser Peculiarities
Boring Copyright Stuff...