Ordered Lists

Lists are a great way to organize information. Each list’s beginning and end must be marked, as well as the beginning and end of each item within the list.

The HTML tag for ordered lists is <ol>. The HTML tag for an item within a list is <li>. Remember that the <li> code is used for items in both ordered and unordered lists.

An HTML example of an ordered list would look like this:

Steps for your project:
<ol>
 <li>write it</li>
 <li>edit it</li>
 <li>post it</li>
</ol>

This is how that code would be displayed on the web page.

Steps for your project:
  1. write it
  2. edit it
  3. post it on your blog