The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's HTML Tag Reference

| Index | Previous Tag: <U> | Next Tag: <VAR> |


<UL>

Creates a bulleted (unordered) list of items.

Support:

HTML StandardInternet ExplorerNetscape Navigator
2.0 and later 1.0 and later 1.0 and later
Notes:
  • Use the <LI> tag to create each new numbered item in the list.
  • This tag requires the </UL> end tag.
Attributes:
CLASS = "Text"
The style sheet class used by the tag.

Support:

HTML StandardInternet ExplorerNetscape 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 StandardInternet ExplorerNetscape Navigator
2.0 and later Not supported Not supported

Notes:

ID = "Text"
An alphanumeric string that uniquely identifies the tag.

Support:

HTML StandardInternet ExplorerNetscape 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 StandardInternet ExplorerNetscape Navigator
4.0 and later 4.0 and later Not supported

STYLE = "Text"
The style or styles to use with the tag.

Support:

HTML StandardInternet ExplorerNetscape 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 bullet to use for each list item.

Support:

HTML StandardInternet ExplorerNetscape Navigator
3.2 and later 4.0 and later 1.0 and later

Notes:

  • You have the following choices for this attribute:
    CIRCLE Circular bullet.
    DISC The standard solid bullet.
    SQUARE Square bullet.
  • This attribute is deprecated.

Example:
<H3>Products I'd Like To See</H3>
<UL>
<LI>Water-resistant sponge
<LI>Self-soiling oven
<LI>Tineless fork
<LI>Silent alarm clock
<LI>Inflatable dartboard
<LI>Teflon bath mat
<LI>Helium-filled paperweight
<LI>Flame-retardant firewood
<LI>Sandpaper bathroom tissue
<LI>Water-soluble dishcloth 
</UL>
How It Looks:

Products I'd Like To See

  • Water-resistant sponge
  • Self-soiling oven
  • Tineless fork
  • Silent alarm clock
  • Inflatable dartboard
  • Teflon bath mat
  • Helium-filled paperweight
  • Flame-retardant firewood
  • Sandpaper bathroom tissue
  • Water-soluble dishcloth

| Index | Previous Tag: <U> | Next Tag: <VAR> |