Ordered List
Numbered List
DescriptionTo put a list item in, you need to use the list tags, which are necessary for each item. The starting tag is <LI> and the closing tag is </LI>. The text between the tags is what is the list item. These <LI> tags go between the <OL> tags. Here is an example using the ordered list.
Code
<OL>

<LI> Find a penguin</LI>
<LI> Take penguin home</LI>
<LI> Train penguin </LI>

</OL>
Output
  1. Find a penguin
  2. Take penguin home
  3. Train penguin
Practice
Alphabetical List
DescriptionList type defines how the list items are labeled. The default is numerals, starting at 1, and going up. You are able to change this to letters, roman numerals, and variations of these options.

The type tag looks like TYPE="list_type". This adds onto the <OL> tag so the final result looks like <OL TYPE="list_type">. The text list_type can be replaced by any of the following:

TYPE="1" - Displays list items in numerals
TYPE="A" - Displays list items in uppercase letters
TYPE="a" - Displays list items in lowercase letters
TYPE="I" - Displays list items in uppercase roman numerals
TYPE="i" - Displays list items in lowercase roman numerals
Code
<OL TYPE="A">

<LI> Penguin Finding</LI>
<LI> Penguin Transporting </LI>
<LI> Penguin Training </LI>

</OL>
Output
  1. Penguin Finding
  2. Penguin Transporting
  3. Penguin Training
Practice
Roman Numeral Lists
DescriptionLike the other lists, but with Roman numerals.

You can also choose which number to start at by adding a start="#" in the <ol> tag
Code
Lowercase Roman Numerals
<ol type="i">
<li>I was there</li>
<li>I am here</li>
<li>I will be there</li>
</ol>

Capital Roman Numerals
<ol type="I">
<li>I was there</li>
<li>I am here</li>
<li>I will be there</li>
</ol>

Specified start
<ol type="i" start="3">
<li>I was there</li>
<li>I am here</li>
<li>I will be there</li>
</ol>

Output
Lowercase
  1. I was there
  2. I am here
  3. I will be there
Capital
  1. I was there
  2. I am here
  3. I will be there
Specified start
  1. I was there
  2. I am here
  3. I will be there
Practice
Advertisements