Mahesh Babu

Wednesday, 5 December 2012

Ordered Lists

There are three types of Common List Tags
Ordered Lists:
<OL></OL> and <LI>
Unordered Lists:
<UL></UL> and <LI>
Definition Lists:
<DL></DL> and <DT>,<DD>

Ordered Lists:
Ordered Lists are numbered lists. When creating an ordered list, there are two main tags you must use. The <OL> tag marks the beginning of the ordered list and the <LI> tag marks the beginning of each item in the list.
While there is no limit to the amount of text an item an item in an ordered list can contain, try to limit each item to one or two lines of text. This will help improve the readability of your list.
By default, a number (1,2,3...) appears beside each item in an ordered list. The TYPE attribute lest you change the number style of your list.

OUTPUT

No comments:

Post a Comment