HTML Tutorial - Lists
The various list tags can be used to present certain information types
in a more organized fashion.
1. Unordered list
This is probably the most common and basic list type.
List example <BR>
<UL>
<LH>List header/topic
<LI>Item 1
<LI>Item 2
<LI>Item 3
</UL>
|
|
The UL html tag is used to start/stop
lists. The LH tag defines the header/topic for
lists.The LI tags define each item in our example.
Adding this html code to a web page on your website would produce the below result.
List example
List header/topic
- Item 1
- Item 2
- Item 3
|
|
2. Ordered lists
This is very similar to the unordered list html type. The items
will be ordered numerically on your web page.
List example <BR>
<OL>
<LH>List header/topic
<LI>Item 1
<LI>Item 2
<LI>Item 3
</OL>
|
|
The UL html tags used to start/stop lists
were simply replace by OL tags.
The result is shown below.
List example
List header/topic
- Item 1
- Item 2
- Item 3
|
|
4. Advanced usage
The various types of lists can be nested and other types are also available.
This manual is merely made available to help the beginner who needs a place to get
started.