Learn HTML Code Tutorial Reference Guide

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.

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial