Version | //IETF//DTD HTML 2.0 Strict//EN
|
---|
Element | DIR |
---|
Purpose | directory list |
---|
Description | This element encloses a directory list. The intent is that DIR creates lists of short items. Browsers would render this list in a series of columns. The appearance would therefore be more compact than a list made using LI.
However, the DIR element was never rendered differently in many browsers and was rarely used.
Use UL instead.
|
---|
Start tag | Required <DIR>
|
---|
Attributes | Name | Type | Default | Comment |
---|
COMPACT | ( COMPACT ) | #IMPLIED | compact list style | SDAFORM | CDATA | #FIXED "List" | one to one mapping; in support of transformation to the International Committee for Accessible Document Design DTD for usable access to structured information by print-impaired individuals | SDAPREF | CDATA | #FIXED "<LHead>Directory</LHead>" | generated text prefix; in support of transformation to the International Committee for Accessible Document Design DTD for usable access to structured information by print-impaired individuals
|
|
---|
Content | ( LI )+ -( P | UL | OL | DIR | MENU | DL | PRE | BLOCKQUOTE | FORM | ISINDEX )
|
---|
End tag | Required </DIR>
|
---|
Referenced in | BLOCKQUOTE BODY DD DIR FORM LI MENU
|
---|
Example | Source | Appearance |
---|
In the building are:
<DIR>
<LI>Brown's Bagel Shop
<LI>Kyle's Copy Shop
<LI>Styles by Deni
<LI>Kim's Tax Service
<LI>The Roof Lounge
</DIR>
| In the building are:
Brown's Bagel Shop
Kyle's Copy Shop
Styles by Deni
Kim's Tax Service
The Roof Lounge
|
|
---|