Index | Definitions| Previous | Next |


Making Lists

Objectives:
* To list objects by letters, by numbers, or by bullets.


You can list items with bullets (unordered list) or by numbers or letters (ordered lists).

My Unordered List:

And this is the HTML format for producing this format:

<B> My Unordered List:</B>
<ul>
<li> Item 1
<li> Item 2
<li> Item 3
</ul>
Notice the <ul> and </ul> at beginning and end. <li> doesn't need an end tag.

My Ordered List:

  1. Item 1
  2. Item 2
  3. Item 3
This is the format for a numbered or lettered list:

<b>My Ordered List:</b>
<ol>
<li> Item 1
<li> Item 2
<li> Item 3
</ol>

You can nest one list inside another. Try to write the tags for the example below.
(Hint: You can use

<ol type=A or =a or =I or =i or =1> to show the type of numbers/letters. You can also say <ol start=8> to start the numbering at that point.)

Nested Unordered List

  1. This is the first item.
  2. This is the second item.
    • This is the first subitem of the second item.
      1. And this is a numbered subitem of a subitem.
      2. And this is another numbered subitem of a subitem.
      3. Getting lost yet?
    • This is the second subitem of the second item.
    • This is the third subitem of the second item.
  3. This is the third item.
Try it! When you get discouraged, check the source for this page, but don't peek until necessary!

Check Yourself:
Make a 2-part assignment with bulleted sub-items for your students.

NEXT


Project Contact: Andria Erzberger
Last Update: January 21, 2003