Lists are a nice method of displaying inofrmation in a standard format that is easy for the viewer to look at. When you use lists, you are organizing the information into typical headings, where everything has a place and where everything follows a certain pattern. For instance when you are using a list, to display information about animals, you wouldn't put a dog under the same heading as a horse. or vice versa.
There are three types of lists that you can use. The first is an unordered list which has this tag <UL></UL>. It gives you bullets and looks like this when you are using it:
The second type of list that you can use is called an ordered list, and has a tag that looks like this <OL></OL>. This tag gives you numbers instead of bullets. It looks like this when you are using it:
The last type of list that you can use is called a definition list. There are three tags that are used to create a definiton list. They are: <DL></DL>---<DT>---<DD>. The first tag creates the list, the second is for the definition title, and the third is for the definition description. These tags look like this example when they are all used together:
<DL>
<DT>German Shepherd
<DD>A type of police dog.
</DL>
And looks like this when viewed through the browser:
You can use the nests together. This is done through a process called nesting.
Where you would use first one tag, and then between the opening and closing tags of the first type of list you can use a second type of list tag. For example:
<OL>
<LI>German Shepherd
<UL>
<LI type=disc>A type of police dog.
<LI type=square>Good guard dogs.
<LI type=circle>Also make good pets.
</UL>
<LI>Old English Sheep Dog
<DT>Shaggy.
<DT>Lots of hair.
</OL>
And looks like this when viewed through the browser: