Lesson 7
Types of Lists
HTML has the capability of displaying two types of lists:
The list above is unordered. Its source code looks like:
<ul>
<li>Ordered
<li>Unordered
</ul>
The <ul> tag opens an Unordered List.
The <li> tag designates a List Item.
The </ul> tag closes the list.
For a numbered list you would use the The Ordered List tag, <ol>. This could be used to do something like
<ol>
<li>Open Browser
<li>Open Text Editor
<li>Create HTML Document in Text Editor
<li>View HTML Document with Browser
<li>Debug HTML Document in Text Editor
<li>Repeat Steps 4 and 5 As Necessary
<li>Post HTML Document on Web Using FTP Program
</ol>
which would give us
- Open Browser
- Open Text Editor
- Create HTML Document in Text Editor
- View HTML Document with Browser
- Debug HTML Document in Text Editor
- Repeat Steps 4 and 5 As Necessary
- Post HTML Document on Web Using FTP Program
It is possible to nest lists within lists:
- Cleaners
- Leave Jacket
- Pick Up Slacks
- Car
- Gas
- Tune-Up
- Car Wash
- Groceries
LESSON 6 |
HOME PAGE |
LESSON 8
© Geo. McCalip 2001
|