Pages

Monday, June 18, 2012

Numbered Lists in HTML

w7r.blogspot.com

The HTML element, ol, or Organized List is used to list items that come in a particular order. When order matters, such as a list of the top 10 songs on billboard, then you would use a Organized List.
Image Source


Race Results

  1. Pacman
  2. Speedy "Pinky"
  3. Shadow "Blinky"
  4. Bashful "Inky"
  5. Pokey "Clyde"
<h4>Race Results</h4>
<ol>
  <li>Pacman</li>
  <li>Speedy "Pinky"</li>
  <li>Shadow "Blinky"</li>
  <li>Bashful "Inky"</li>
  <li>Pokey "Clyde"</li>
</ol>

About the HTML Tags ol and li

  • <ol> starts a organized list
  • <li> starts a list item
  • </li> closes a list item
  • </ol> ends the organized list

No comments:

Post a Comment