This tag is used to create a set of numbered items. An ordered list element has the tag <ol>
. This is an abbreviation for Ordered List. Each item in the list is marked by a list item element <li>
.
Using <ol>
to make an ordered list
<ol> <li>Tea</li> <li>Milk</li> <li>Water</li> </ol>
<ol></ol>
<ol> </ol>
. Next, add your list items inside the ordered list tags. To make each list item, use the list item tags <li> </li>
and type your content inside the tags.</li>
tags so it's clear they are contained in the <ol>
tag.For more information, see http://www.w3schools.com/tags/tag_ol.asp
Found a bug in the documentation? Let us know at documentation@code.org