Back to index

Colorful List Items

  1. Yellow
  2. Cyan
  3. Orange
  4. Magenta
  5. Green
Study the code for this page. You will see that it's really easy to set the color used with the links as shown in the above example. Depending on which browser you are viewing the page with the entire line may be the designated color or else only the numbers at the front of the line may be the designated color.


ASSIGNMENT:
Make a list of fruits, vegetables, nuts, grains, and fungi. You should have a total of at least thirty items in your list with no fewer than four members in each category. Your list must be in alphabetical order. You will color code each item by category. In other words, fruits will be designated using one color, vegetables another, etc. Use the list color technique shown on this page to construct your list. Also include a key below your list which identifies the meaning of each color used in your list.