Search This Blog

Monday, 10 October 2011

Lists


Lists

You may also have lists of items that you will need to add. There are several types of lists. The two most common ones are ordered and unordered lists. Ordered lists are called ordered lists because they have numbers for people to be guided by.

Here is an example of an ordered list:
<OL>
<LI>Item one</LI>
<LI>Item two</LI>
<LI>Item three</LI>
</OL>
1. Item one
2. Item two
3. Item three

There are also different types of ordered lists. Here is an example of a specific type of ordered list:
<OL TYPE="I">
<LI>Item one</LI>
<LI>Item two</LI>
<LI>Item three</LI>
</OL>
I. Item one
II. Item two
III. Item three

The 'TYPE' attribute can contain one the following types: 1, a, A, i, or I.

Unordered lists are similar to ordered lists, except that they have bullets instead of numbers. Here is an example of an unordered list:
<UL>
<LI>Item one</LI>
<LI>Item two</LI>
<LI>Item three</LI>
</UL>
• Item one
• Item two
• Item three


No comments:

Post a Comment