LIST TAG


php tutorial

HTML LIST TAG

php tutorial

List tag generally used to make category or subcategory highlight in bullet style on html page. We can define bullet's as order or unorder through list tag.

Type of List
  • UL - Unorder List
  • OL - Order List
List Tag Attribute
List Tag AttributeDefinition
ulrepresent unorder-list in manner of disc, square, circle
olrepresent order-list in manner of 1, A, a, i, I
lilist
typedefine type of list
startThis attribute use only in ol (order-list tag) to start list

Browser Support to <ul>, <ol> tag : Chrome, Firefox, IE, Opera, Safari
Syntax:
< ul type="disc | circle | square" >

< li >
Any List < /li >

< li > Any List < /li >

< /ul >
< ol type="1 | A | a | i | I" start=" " >

< li >
Any List < /li >

< li > Any List < /li >

< /ol >

Example

Output

<b>Order List</b>

<ol type="i">

<li>List 1</li>

<li>List 2</li>

</ol>
Order List

  1. List 1

  2. List 2