![]() |
|
<dl>
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||
This is a form of annotated listing. It can be used for various forms of format structure, but this is not recommended especially now that style sheets are coming into force.
The <dl> listing takes two additional tags: <dt> (the definition term) and <dd> (the definition description). Examine the following examples:
<dl>
<dt>The Compendium
<dd>The Compendium of HTML Elements
<dt>HTML
<dd>Hypertext Markup Language
</dl>
class=
|
||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
clear=
|
"When there is already a figure or table in the margin, you sometimes want to position another figure below the figure in the margin rather than alongside it. The CLEAR attribute allows you to move down unconditionally:" (w3)
Alternatively, you can decide to place the figure alongside the figure in the margin just so long as there is enough room. The minimum width needed is specified as "## en" where ##= the number of nutts or ### pixels where ### is the number of pixels. |
|||||||||||||||||||||||||
"left"
|
"move down until left margin is clear" (w3) | |||||||||||||||||||||||||
"right"
|
"move down until right margin is clear" (w3) | |||||||||||||||||||||||||
"all"
|
"move down until both margins are clear" (w3) | |||||||||||||||||||||||||
"## en"
|
"move down until there is at least 40 en units free" (w3) | |||||||||||||||||||||||||
"### pixels"
|
"move down until there is at least 100 pixels free" (w3) | |||||||||||||||||||||||||
| compact deprecated
|
the compact attribute is used to remove unnecessary white space. Some browsers will insert white space between definition items, this attribute will discourage this. Most browsers do not recognize it. If you are using Netscape 4.01, you will note the #3 item is actually compacted.
<dt>The Compendium <dd>The Compendium of HTML Elements <dt>HTML <dd>Hypertext Markup Language <dt>#3 <dd>third definition </dl>
|
|||||||||||||||||||||||||
dir=
|
||||||||||||||||||||||||||
| "ltr" | ||||||||||||||||||||||||||
| "rtl" | ||||||||||||||||||||||||||
id=
|
||||||||||||||||||||||||||
index=
|
||||||||||||||||||||||||||
lang=
|
list of language codes list of country codes |
|||||||||||||||||||||||||
style=
|
||||||||||||||||||||||||||
title=
|
||||||||||||||||||||||||||