Webpage Workshop: Home » XHTML » Unordered lists

Unordered lists

The second type of list that you can use is the unordered list. With this type of list, as the name suggests, the items are labelled irrespective of order; they are in fact labelled with bullet points.

Using this type of list is very much like the ordered list and just like them, unordered lists can also be stacked inside each other infinitely. The example below shows the basic syntax for the list:

<ul>
  <li>Item 1</li>
  <li>Item 2</li>
</ul>

Just like with ordered lists, the unordered list has a number of different renderings. The bullets can take the form of a square, circle, or a disc. These bullets points can be set using Cascading Stylesheets, and the default bullet is the circle. As with the ordered list, the different levels of indentation are represented with different bullet styles.

In the next tutorial you will learn the basic use of forms and how most forms contain a standard set of features.

<< Previous page | Next page >>