FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!

Lists in HTML




Unordered Lists (Bullets)

An unordered list starts with the tag <UL> and ends with </UL>. Each list item starts with the tag <LI>. Attribute and css/style properties, which can be specified with <LI>, are:-

css
list style-type Specifies the type of bullet.
List-style-type: circle will give a solid round black bullet
List-style-type: square will give a solid square black bullet

Ordered Lists (Numbering)

An ordered list starts with the tag <OL> and ends with </OL>. Each list items with the tag <LI>. The attribute and css\style properties, which can be specified with <LI>, are:-

css\style
list-style-type Controls the numbering scheme to be used.
list-style-type: decimal will give numbers (1, 2,3,4,5,etc.)
list-style-type: lower-alpha will give lower-alpha (a, b,c,d,e,etc.)
list-style-type: lower-greek will give lower-greek (alpha, beta, gamma, etc.)

Definition Lists

Definition list values appear within tags <DL> and </DL>. Definition lists consists of two parts:

Definition term Appears after the tag <DT>
Definition description Appears after the tag <DD>



1 blog comments below

Again nice one ! Razz
ankur209 on Sun Jul 03, 2011 1:36 pm



FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.