Home > HTML Help > Lists 5/13/2008

Making Lists


Lists are very simple, although a person could make one very complex, depending on how far in it took the list.

This first type of list I am going to show you is called a MENU list.

The three components of a menu list are:

<MENU>(beginning of the menu)
<LI> (item in the menu, as many as you want)
</MENU> (ending of the menu)

That is all there is too it! If you want more items in the menu, just add more <LI> lines with one item per <LI> line.


Next I will show you an Ordered List.

This will be an order list with numbers.(Code this line <OL> )
1.This would be item one.(Code this line <LI> )
2.This would be item two.(Code this line <LI> )
3.This would be item three.(Code this line <LI> )
(Code this line </OL> )

You could keep adding <LI> lines for as many items as you wanted.

But what if you wanted Roman Numerals?


Code this line <OL TYPE="I">
I.Line one...Code this line <LI>
II.Line two...Code this line <LI>
III.Line three..Code this line <LI>
Code this line </OL>

Works pretty good, but what if you want to go deeper into the list?


Code this line <OL Type="I">
I.First level <LI>
A.Second level <OL TYPE="A"><LI>
a.Third level <OL TYPE="a"><LI>
End last two levels </OL> </OL>
B.Start a new item. <LI> End the list. </OL>
II.Go back to first level, etc.... </OL><LI>



The last type of list is the Unordered List.


Code this line <UL>
First line of unordered list. <LI>
Second level <UL><LI>
Third level <UL><LI>
Go back to second level </UL><LI>
Go back to first level </UL><LI>
End the list </UL>

After you do that a time or two, it does not seem so confusing. Just remember
to have the same amount of beginning tags as ending tags. You probably
noticed the <LI> tag does not have an end tag.






 



Copyright 1998-2005 © Web-Helper.net, All Rights Reserved  Privacy Policy