UNORDERED LISTS

<ul>, <li>
Make bulleted lists.


<html>
<head>
<title>Unordered Lists</title>
</head>

<body>

<ul>
<li>The first item in the list.</li>
<li>The second item in the list.
    This line is still part 
    of the second item.</li>
<li>The third item in the list.</li>
</ul>

</body>
</html>

Use <li> ... </li> tag for each item in the list.

Notes

Each item in the list is set off with a bullet, which is usually, but not always, small solid circle. For lists with numbers see the next topic, Ordered Lists. Ordered lists and unordered lists work the same.

Use unordered lists for lists of items where the order does not matter.

A list item can be as long as you want. It can contain paragraphs and other lists.

Try This

Make a list of lists. That is, make a list where each list item is a list.

LaEdit

To add an unordered list to your Web page

  1. Position the insertion point.
  2. Pick Lists»Unordered <ul></ul> .
  3. Then use Lists»Item <li></li> for each item.

The Fine Print

Don't use <li> outside of lists.


Copyright © 2000 P.J. LaBrocca. http://LaBrocca.com