Saturday, May 1, 2010

How Ordered lists Are Displayed , Order List Tag In HTML

The type attribute allows you to specify the number type for an ordered (OL) list. Besides making it possible for you to specify a number type for a numbered list, this attribute allows you to create multilevel outlines.

Specifying The Number Type:
You can use the TYPE attribute to specify the number type for an ordered (OL) list. The values that uppercase that can use with the TYPE attribute are “A”, “a”, “I”, “i”, and “1” for specifying uppercase letters, lowercase letter, uppercase roman numerals, lowercase roman minerals, or Arabic numbers, respectively.

Example:

OL TYPE=”1”>

LI> This is item one.

LI> This is item two.

LI> This is item three.

LI> This is item four.

/OL>

0 comments:

 

blogger templates | M