section 6: lists
In the previous section I told you about tables and how they can be used to show data that would otherwise be difficult to explain. Lists are similar structures in that they can be used to show data in the most approriate way. Like tables you first tell the browser that you are going to define a list and then you define an element at a time.
Defining lists
There are several types of list that can be used. The first one to learn is the <UL> list. Which stands for "Unordered List". Inbetween the start and end tags of a UL list are several "List Items" defined by <LI> start and end tags. Here is an example of the use of lists...
An "Unordered List" can be used to show lists that are not supposed to be in any particular order, for example the ingredient list in a recipe. That's why the bullet marker for this type of list is a simple "dot" by default.
Next: Ordered lists