©1999-2000. Comments or Questions about this page? Please e-mail me at PCTechPH@yahoo.com . All Rights Reserved.
HTML LIST Tutorial |
Revised: 12/12/2003 |
Quick Study |
HTML offers Three principal types of lists, these are as follow: Ordered Lists, Unnumbered lists and Definition Ordered Lists.
Ordered List are enclosed with the <OL></OL> pair. Each Item preceded by <LI> is assigned a sequential number.
An Example for these commands are:
The Source code for the above HTML is.
Unnumbered Lists work similarly within the <UL> </UL> pair, except that <LI> produces a bullet.
For example of an Unnumbered Lists:
Using this command, the Unnumbered list is the same as the Ordered List but you will see the changes once it lists the ITEMS. You will notice there is a bullet before the subject.
Definition lists are enclosed within the <DL> </DL> pair slits the list into levels.
For example of this command:
Those are the types of Listing that you can use to specify an Item with a number. If you wanted to use Circle, Square and a Disc to replace those standard bullets. Just include them in the attributes.
There are types of command we can use for LIST called Nested List. Where it combines those LIST to a sub-list to an arbitrary depth to form one Nested order list.
Here is the HTML code on the above example: Nested list.
<UL> <LI>News: <LI>Content: <UL> <LI>Article I <LI>Article II <LI>Article III <UL> <LI>Summary <LI>Glossary <UL>
Another set of command for Definition List is the <DD> tag. It describe an item and use in the Definition List <DL>
To shows you the HTML Coding to fully understand the concept. See below:
<DL> <DT>Item I <DD>Blanket <DD>Pillow <DD>Dress <DT>Item II <DD>Canned Goods <DD>Toys <DT>Item III <DD>Noodles <DD>Milk </DL>
[Go Back] [ Chapter Four ][ Keyboard Shortcut ]
Visit Our Sponsors! | |
|
|
Affordable HP Products from Office Depot! |
|
Net2Phone is the global leader in long distance savings! |
|
Stop Missing Calls While You're Online! Hear who's calling while you're online... Get the FREE the Internet Answering Machine |
|
Be an Affiliates | |
Calling all Webmasters....Let us pay you for referring affiliates to the LinkShare Network. |
|
HTML Tutorial! | |
Dynamic Drive DHTML code library Visit Dynamic Drive for free, original DHTML scripts and components, all of which utilize the latest in DHTML and JavaScript technology! |