
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <DFN>
| Next Tag: <DIV>
|
<DIR>
A list (or directory) of items.
Support:
-
Notes:
- This tag was originally meant to create multiple-column lists (such as seen in a DOS directory listing). However, most browsers just render <DIR> items the same as the <UL> tag, so <DIR> is rarely used.
- This tag requires the </DIR> end tag.
- This tag is deprecated. Use <UL> instead.
Attributes:
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- COMPACT
Tells the browser to display a compact version of the list.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
2.0 and later |
Not supported |
Not supported |
Notes:
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
- TYPE
= "Text"
The type of number or bullet to use for each list item.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
4.0 and later |
Notes:
-
You have the following choices for this attribute:
1 Standard numbers (1, 2, 3)
a Lowercase letters (a, b, c)
A Uppercase letters (A, B, C)
i Small Roman numerals (i, ii, iii)
I Large Roman numerals (I, II, III)
disc The standard solid bullet
circle Circular bullet
square Square bullet
Example:
Other names for Web site designers:
<DIR>
<LI>Arachnerd
<LI>Cyberscriber
<LI>Paster boy
</DIR>
How It Looks:
- Other names for Web site designers:
- Arachnerd
- Cyberscriber
- Paster boy
| Index
| Previous Tag: <DFN>
| Next Tag: <DIV>
|
|