Ordered List Type Attribute with Value
The type attribute of <ol> tag specifies the order we want to create.
Type | Descriptions |
---|---|
type=”1″ | This will list the items with numbers (default) |
type=”A” | This will list the items in uppercase letters. |
type=”a” | This will list the items in lowercase letters. |
type=”I” | This will list the items with uppercase Roman numbers. |
type=”i” | This will list the items with lowercase Roman numbers. |
HTML Ordered Lists
HTML Ordered List is created by the HTML <ol> tag, to display elements in an ordered form, either numerical or alphabetical. Within the <ol> tag, list items <li> are used to define the items in sequential order.
Syntax:
<ol>
<li>...</li>
<li>...</li>
<li>...</li>
</ol>
Contact Us