untitled
Home Tutorials Tips Forum Links Books GuestBook Email
Craigs HTML Page

Lists

Using lists on your site is a great way to get things in order, whether it痴 a top 10 list or a things to do list, HTML has all your list needs covered. We値l start off with numbered lists and cover the different types further down the page. Lets look at the basic setup.

<OL>
<LI>First thing
<LI>Second thing
<LI>Third thing
<LI> And so on
</OL>

Now we値l take a closer look at each part, the OL stands for ordered list and is the type of list we池e using, in the next section I値l show you a different type. The LI stands for list item which is followed by each item.

This is how it looks through a browser.

  1. First thing
  2. Second thing
  3. Third thing
  4. And so on

As you can see the numbers are put in by the browser in order so you don稚 have to. Now I値l show you the other order list types you can use. To use them you just add TYPE to the OL tag followed by = and the type of ordered list you want. It looks like this.

<OL TYPE=the type you want>

The different types are.

TYPE=1 for a normal list (the one above)
TYPE=a for a list a,b,c and so on
TYPE=A for a list the same as a,b,c but uppercase
TYPE=i for lowercase roman numbers
TPE=I for uppercase roman numbers

In the next section I値l show you how to use bullet lists and there different types.