HTML: Ordered List

An ordered list displays a list of items using numbers or letters in either ascending or descending order.

The <ol> ………. </ol> tag is used to define an ordered list ; whereas the <li> ….. </li> tag is used to define the items of list.

Ex:-

<ol>
	<li>Linux</li>
	<li>Windows</li>
	<li>Mac</li>
	<li>Android</li>
</ol>
AttributeValue
Type1, A, a, I, i
StartAny numeric value
ReversedReversed
<ol type=1>
	<li>Linux</li>
	<li>Windows</li>
	<li>Mac</li>
	<li>Android</li>
</ol>
vikashdev k
Latest posts by vikashdev k (see all)
Tagged : / / / / / /
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x