HTML < ol > Tag - Learn About Website | DaddyFile
Latest News

0

HTML <ol> Tag

Example

2 different ordered lists:

<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>

<ol start="50">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>


Definition and Usage

The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.
Use the <li> tag to define list items.

Tips and Notes

Tip: For unordered list, use the <ul> tag.
Tip: Use CSS to style lists.

The "reversed" attribute is new in HTML5.
The "compact" attribute is not supported in HTML5.

Post a Comment

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top