HTML Ordered List
The HTML <ol>
tag defines an ordered (serial number) list.
The type attribute of the <ol>
tag, defines the type of the list item
marker:
- type="1" - The list items will be numbered with numbers (default).
- type="A" - The list items will be numbered with uppercase letters.
- type="a" - The list items will be numbered with lowercase letters.
- type="I" - The list items will be numbered with uppercase roman numbers.
- type="i" - The list items will be numbered with lowercase roman numbers.
1. type="1"
<ol type="1">
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
- One
- Two
- Three
1. type="A"
<ol type="A">
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
- One
- Two
- Three
1. type="a"
<ol type="a">
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
- One
- Two
- Three
1. type="I"
<ol type="I">
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
- One
- Two
- Three
1. type="i"
<ol type="i">
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
- One
- Two
- Three