Logo Your Web Hosting Solution
Line
HTML Guide
Introduction
Documents
Formatting
Links
Images
Lists
Tables
Forms
Tutorials Index
Home Page
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
  1. Item 1
  2. Item 2
  3. 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.

Top Of Page 
Line
Copyright© 1996 - 2024 Clockwatchers, Inc.