Friday, November 2, 2012

Lesson 13: HTML Lists

The most common HTML lists are ordered and unordered lists.

HTML Unordered Lists

An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.
The list items are marked with bullets (typically small black circles).

 Example:-  
 

How the HTML code above looks in a browser:

HTML Ordered Lists


An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
The list items are marked with numbers.

Example:-  
 

How the HTML code above looks in a browser:


HTML Definition Lists


A definition list is a list of items, with a description of each item.
The <dl> tag defines a definition list.
The <dl> tag is used in conjunction with <dt> (defines the item in the list) and <dd> (describes the item in the list)

Example:-  
 

How the HTML code above looks in a browser:

<< Previous Lesson                                            HTML Tutorial                                            Next Lesson >>

 



No comments:

Post a Comment