Welcome to our forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Forum Statistics

  • Forum Members:
  • Total Threads:
  • Total Posts: 1
There are 1 users currently browsing forums.
HTML & CSS Articles Read and post HTML and CSS tutorials.

Reply
  #1  
Old 09-05-2004
A "Mature" Pre-Teenager!
 
Join Date: Sep 2004
Posts: 105
Rep Power: 7
hayabusa is on a distinguished road
HTML part 10

HTML Lists:
--------------------------------------------------------------------------------

Unordered Lists
An unordered list is a list of items. The list items are marked with bullets (typically small black circles).

An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.
HTML Code:
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul> 
Here is how it looks in a browser:

Coffee (it has a big dot infront of it)
Milk (it has a big dot infront of it)
Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.


--------------------------------------------------------------------------------

Ordered Lists
An ordered list is also a list of items. The list items are marked with numbers.

An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
HTML Code:
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol> 
Here is how it looks in a browser:

1. Coffee
2. Milk
Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.


--------------------------------------------------------------------------------

Definition Lists
A definition list is not a list of items. This is a list of terms and explanation of the terms.

A definition list starts with the <dl> tag. Each definition-list term starts with the <dt> tag. Each definition-list definition starts with the <dd> tag.
HTML Code:
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl> 
Here is how it looks in a browser:

Coffee
Black hot drink
Milk
White cold drink
Inside a definition-list definition (the <dd> tag) you can put paragraphs, line breaks, images, links, other lists, etc.

Last edited by YoungCoder; 09-05-2004 at 05:51 AM.
Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML part 13 hayabusa HTML & CSS Articles 0 09-05-2004 02:57 AM
HTML part 8 hayabusa HTML & CSS Articles 0 09-05-2004 02:44 AM
HTML part 4 hayabusa HTML & CSS Articles 0 09-04-2004 11:04 AM
html part 3 hayabusa HTML & CSS Articles 0 09-04-2004 11:03 AM
html part 2 hayabusa HTML & CSS Articles 0 09-04-2004 11:02 AM