Back to index

Unordered Lists

As you know there are ordered lists and there are unordered lists. In this lesson we take a closer look at unordered lists. Here are four examples for you to take a quick look at:
  • Betsy
  • Suzzy
  • Rhonda
  • Wilma
  • Bob
  • Joe
  • Ned
  • Zed
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • January
  • February
  • March
  • April
If you inspect the code you should be able to deduce two important things about unordered lists:
  1. There are four types: disc, square, circle, none
  2. There is a special syntax for designating the type
There are several other parameters that can be set using special syntax. For instance consider these examples:
  • oats
  • corn
  • rye
  • wheat
  • apple
  • orange
  • peach
  • banana
  • carrots
  • peppers
  • celery
  • onions
From these examples you can see how it is possible to change the amount of indent (aka, padding) applied to items in a list.
ASSIGNMENT

You will create four lists. All lists will be of the unordered variety with an example of each of the four 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.