HTML: Lesson 9 - Ordered Lists


Ordered HTML Lists

An unordered list starts with the <ol> tag. Each list item starts with the <li> tag.
The list items will be marked with numbers counting from low (1) to high:

<ol>
  
<li>Coke</li>
  
<li>Pepsi</li>
  
<li>Sprite</li>
</ol>

Note: the difference between Ordered and Unordered lists. 

Example of Ordered list
1. Coke
2. Pepsi
3. Sprite

Example of Unordered list

  •  Coke
  • Pepsi
  • Sprite

0 comments:

TUTORIALS

  • HTML
  • CSS
  • Javascript
  • JQuery
  • PHP
  • MySQL

Labels