XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''"> Lists
Unordered Lists (Bulleted)
An unordered list <UL> is a list of items where each item is preceeded by a bullet. The list begins and ends with the tags <UL> and </UL>. Then, each item in the list is marked using the <LI> tag (list item).
<UL>
<LI>Monday</LI>
<LI>Tuesday</LI>
<LI>Wednesday</LI>
</UL>
When used in a valid HTML file, the list would look like:
• Monday
• Tuesday
• Wednesday
Nested Lists
Lists can also be nested. Remember that including leading blanks in the HTML text file will make it easier to read, but will not be displayed:
<UL>
<LI>Monday</LI>
<LI>Tuesday </LI>
<UL>
<LI>8am - 12pm</LI>
<LI>12pm - 1pm</LI>
<LI>1pm - 5pm</LI>
</UL>
<LI>Wednesday</LI>
</UL>
When used in a valid HTML file, the list would look like:
• Monday
• Tuesday
• 8am - 12pm
• 12pm - 1pm
• 1pm - 5pm
• Wednesday
Ordered Lists (Numbered)
An ordered list <OL> is much like an unordered list, except that the list items are numbered instead of bulleted. For example:
<OL>
<LI>Monday</LI>
<LI>Tuesday</LI>
<LI>Wednesday</LI>
</OL>
will look like this when displayed in an HTML browser:
1. Monday
2. Tuesday
3. Wednesday