Attribute for <UL ...>
TYPE = DISC | CIRCLE | SQUARE

TYPE sets the type of bullet to use in the list. DISC is a solid little circle. CIRCLE is an empty circle, and SQUARE is (you might have guessed) a square.

this code produces this
<UL TYPE=DISC>
<LI>coffee
<LI>tea
<LI>lemonade
</UL>
  • coffee
  • tea
  • lemonade
<UL TYPE=CIRCLE>
<LI>coffee
<LI>tea
<LI>lemonade
</UL>
  • coffee
  • tea
  • lemonade
<UL TYPE=SQUARE>
<LI>coffee
<LI>tea
<LI>lemonade
</UL>
  • coffee
  • tea
  • lemonade

DISC is the default for top-level lists, that is, a list that is not nested in other lists. For lists that are listed inside other lists the default changes from browser to browser. TYPE may be a good way to keep control of the bullets if you find you don't like the choices made by different browsers.





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.