Lists


About HTML      Colors      Images and Links       Lists       Tables      Index Page
If you want to make a set of bulleted items, you use lists. Two kinds of lists: numbered and bullets. Bullets lists are called unordered lists. Numbered lists are called ordered lists.
<ol>Ordered List</ol>
<ul>Unordered List&;/ul>
In order to distinguish what items go into the next bullet or number, use <li>Next Item</li>
Examples: ^^An unordered list. The code for this list looks like:
<ul>Grocery List
<li>milk</li>
<li>cookies</li>
<li>ice cream</li>
</ul>
    Favorite Music Groups/Artists
  1. Coldplay
  2. Death Cab for Cutie
  3. Jason Mraz
^^An ordered list. The code for this list looks like:
<ol>
<li>Coldplay</li>
<li>Death Cab for Cutie</li>
<li>Jason Mraz</li>
</ol>
^^This is a nested list. It is a list with sublists. The code for this list is below:
<ul> Produce
<li>Fruit <ol>
<li>Apples</li>
<li>Blueberries</li>
<li>Raspberries</li>
</ol>
<li>Veggies</li>
<ol>
<li>Zuchinni</li>
<li>Brussel Sprouts</li>
<li>Eggplant</li>
</ol>
</ul>

Aaaand one more nested list!!
    Desserts
  1. Cake
  2. Cookies
  3. Pie

Page Created By: Alice
March 1, 2010