Create a order list through HTML|TechHunter


Create Order list<ol>

HTML order list created with <ol>tag
First of all let's see the attributes of HTML-

Attributes


Attribute
ValueDescription
ReversedreversedSpecifies that the list order should be reversed (9,8,7...)
StartnumberSpecifies the start value of an ordered list
Type1
A
a
I
i
Specifies the kind of marker to use in the list

Ordered HTML List - The Type Attribute

The type attribute of the <ol> tag, defines the type of the list item marker:

TypeDescription
type="1"The list items will be numbered with numbers (default)
type="A"The list items will be numbered with uppercase letters
type="a"The list items will be numbered with lowercase letters
type="I"The list items will be numbered with uppercase roman numbers
type="i"The list items will be numbered with lowercase roman numbers

<
ol type="1">

  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>
Try it yourself in any browser your choice.                 keep the order list type-1,a,A,i,I
by-Sai Aditya meher.             

Comments