Lists

In entering lists, HTML provides tags for this purpose. HTML supports three kinds of
lists: ordered, unordered, and definitions. An ordered list is a list in numeric order. HTML adds the numbers automatically.
Once an entry is removed HTML automatically updates the numbers of the other entries.
The < OL > tag defines ordered lists which are list entries that starts with numbers while < UL >
tags is used for unordered lists and entries starts with a bullet symbol. A single < LI > tag
identifies each list item for both the ordered and the unordered lists, where < LI > stands for
list item. < LI > tag is therefore a one-sided tag.

For definition lists, two tag are the used < DT > tag used for each term in the list and the
DD tag used for each term's definition. Both these tags are one sided.

Ordered Lists


An ordered list is also a list of items. The list items are marked with numbers.
An ordered list starts with the < ol > tag. Each list item starts with the < li > tag.
< ol >
< li >Coffee< /li >
< li >Milk< /li >
< /ol >
Here is how it looks in a browser:
1. Coffee
2. Milk

Unordered Lists


An unordered list is a list of items. The list items are marked with bullets (typically small black circles).
An unordered list starts with the < ul > tag. Each list item starts with the < li > tag.
< ul >
< li >Coffee< /li >
< li >Milk< /li >
< /ul >
Here is how it looks in a browser:
* Coffee
* Milk

And finally for the

Definition list:


A definition list is not a list of items. This is a list of terms and explanation of the terms.
A definition list starts with the < dl > tag. Each definition-list term starts with the < dt > tag. Each definition-list definition starts with the < dd > tag.
< dl >
< dt >Coffee< /dt >
< dd >Black hot drink< /dd >
< dt >Milk< /dt >
< dd >White cold drink< /dd >
< /dl >
Here is how it looks in a browser:
Coffee
Black hot drink
Milk
White cold drink
Inside a definition-list definition (the < dd > tag) you can put paragraphs, line breaks, images, links, other lists, etc.