Objectives: Index | Definitions| Previous | Next |
Making Lists
* 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:
- Item 1
- Item 2
- Item 3
And this is the HTML format for producing this format:
<B> My Unordered List:</B> Notice the <ul> and </ul> at beginning and end. <li> doesn't need an end tag.
<ul>
<li> Item 1
<li> Item 2
<li> Item 3
</ul>My Ordered List:
This is the format for a numbered or lettered list:
- Item 1
- Item 2
- Item 3
<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
Try it! When you get discouraged, check the source for this page, but don't peek until necessary!
- This is the first item.
- This is the second item.
- This is the first subitem of the second item.
- And this is a numbered subitem of a subitem.
- And this is another numbered subitem of a subitem.
- Getting lost yet?
- This is the second subitem of the second item.
- This is the third subitem of the second item.
- This is the third item.
Check Yourself:
Make a 2-part assignment with bulleted sub-items for your students.
Project Contact: Andria Erzberger
Last Update: January 21, 2003