![]() |
|
![]() |
|
![]() |
|
![]() |
Step 7 : Creating Lists In this part we take a look at how to create lists. You can make a shopping list or just use the list as a menu or as a directory listing.
Creating an Unordered List Lets start with creating a bulletted list of say 5 items. We do so by using the <UL> tag. UL stands for Unordered List ie. a list which is not numbered or sorted. We use the <LI> tag to specify each item in the list.
This shows as...
The list is put within the <UL></UL> tags and each list item or text is preceded with a <LI> tag. Creating an Ordered List An ordered list consists of items which are sequentially numbered or lettered. We use the <OL> tag to specify an ordered list.
By default the numbering will start at 1 and increment by one for each item. We can also specify the type of numbering and the starting number.
In the above example we have specified the type to be A and the starting value as 1. The different styles for ordering the list are A - Use large letters Lets take another example of ordered listing.
Creating Directory Listings To create a directory listing we use the <DIR> tag instead of the usual <UL> or <OL> tags.
Creating A Menu We can also use the <MENU> tag to create a menu of items.
Depending on your requirements you can create neat and precise lists which will help you present information in a more ordered manner.
|
![]() |
|
Broadband | Chat | Contest | Movies | E-cards | Weather | Travel | | Romance | Astrology | Shopping Money | Instant Messenger | Auctions | Auto | Education | Jobs | TechJobs | Women | Technology |
|
![]() Disclaimer © 2000 rediff.com India Limited. All Rights Reserved. |