Navigation
Poll
Would you be an active poster if Ron's Guide had a message board?


Total Votes: 62
Comments: 18 — View
Past pollsPoll idea?
Rate Ron's Guide
Rate our resource at Bigwebmaster.com
Lists
HTML lists can be used for a variety of different things, this tutorial will show you the basics.

There are three different types of lists in HTML; <ol>, <ul>, and <dl>...

<ol> - Ordered Lists

Here is an Example of an order list...

I'm starting an ordered list!

<ol>
  <li>This is the 1st thing on my list</li>
  <li>This is the 2nd thing on my list</li>
  <li>This is the 3rd thing on my list</li>
</ol>
Here is what your browser will display...

I'm starting an ordered list!

  1. This is the 1st thing on my list
  2. This is the 2nd thing on my list
  3. This is the 3rd thing on my list

<ul> - Unordered Lists

Here is an Example of unordered list...

I'm Starting an unordered list!

<ul>
  <li> This is the 1st thing on my list</li>
  <li> This is the 2nd thing on my list</li>
  <li> This is the 3rd thing on my list</li>
</ul>
Here is what your browser will display...

I'm starting an unordered list!

  • This is the 1st thing on my list
  • This is the 2nd thing on my list
  • This is the 3rd thing on my list

<dl> - Definition Lists

Here is an example of a defintion list...

I'm starting a definiton list!

<dl>
  <dt>This is the 1st thing on my list</dt>
    <dd>definition lists are great!</dd>
    <dd>Not to mention useful!</dd>

  <dt>This is the 2nd thing on my list</dt>
    <dd>definition lists are great!</dd>
    <dd>Not to mention useful!</dd>

  <dt>This is the 3rd thing on my list</dt>
   <dd>definition lists are great!</dd>
   <dd>Not to mention useful!</dd>
</dl>
Here is what your browser will display... I'm starting a definiton list!
This is the 1st thing on my list
Definition lists are great!
Not to mention useful!
This is the 2nd thing on my list
Definition lists are great!
Not to mention useful!
This is the 3rd thing on my list
Definition lists are great!
Not to mention useful!
Discuss Tutorial: Lists 1 Comment
Comment by Ron on Mar 16, 2004, 4:12 am
Please post questions and comments about this tutorial below. Smile

« Previous [ 1 ] Next »
Post a comment
Sorry, you must be a registered member to post comments.

If you would like to register, you can do so here.
If you already have an account, please login.