Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Articles Thread, HTML Lists in HTML / XHTML; HTML Lists Unordered Lists An unordered list is a list of items. The list items are marked with bullets (typically ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=5570


Reply
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
28-10-2008, 07:13 PM
 
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
  • Milk
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:
CoffeeBlack hot drinkMilkWhite cold drink Inside a definition-list definition (the <dd> tag) you can put paragraphs, line breaks, images, links, other lists, etc.
__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Articles Thread, HTML Lists in HTML / XHTML; HTML Lists Unordered Lists An unordered list is a list of items. The list items are marked with bullets (typically ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=5570


Bookmarks

Tags
html, lists


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

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Links Developer Articles 0 28-10-2008 06:52 PM
Lesson : HTML Linking to E-Mail in HTML Tutorial Developer Articles 0 17-10-2008 09:14 PM
Html 4.01 Developer Articles 0 03-09-2008 10:26 PM
What is HTML? Developer Articles 0 03-09-2008 10:24 PM
HTML in 1 day Developer Programming Languages 5 16-07-2008 11:23 PM