Back to index

Ordered Lists

The last lesson dealt exclusively with unordered lists and so this lesson will focus on ordered lists. There are five types of ordered lists as shown below.
  1. Idaho
  2. Wyoming
  3. Montana
  4. Colorado
  1. Canada
  2. New Zealand
  3. Australia
  4. Scotland
  1. Cat
  2. Snake
  3. Rat
  4. Dog
  1. Cherry
  2. Apple
  3. Rhubarb
  4. Blueberry
  1. guitar
  2. piano
  3. violin
  4. bass
The two most basic things you should realize about ordered lists:
  1. There are five types: 1, A, a, I, i
  2. The default ordered list is type 1
An important thing you should know about ordered lists is that you can start with any number or letter you want to:
  1. oats
  2. corn
  3. rye
  4. wheat
  1. apple
  2. orange
  3. peach
  4. banana
  1. carrots
  2. peppers
  3. celery
  4. onions
Notice that you must designate the start with a normal number.
ASSIGNMENT

You will create five lists. All lists will be of the ordered variety with an example of each of the five types shown on this page. Each of your lists will have a title above it. Use horizontal rules between the lists. Each of your lists will have six items in it. As for the topics of your lists, that's up for you, but you can't use any of the topics used on this page.


EXTRA INFORMATION:

Let's say that you want to display the results of a race in which there were ties. The method shown to the right is one way to deal with such a situation. As always, inspect the code for this page in order to see how this works. WARNING: the "value" attribute might not work on all browsers.

  1. Martha
  2. Burt
  3. Carlos
  4. Mary
  5. Doug
  6. Jason
  7. Jill
  8. John
  9. Megan