Horje
How to create Ordered HTML List - The Type Attribute

The type attribute of the <ol> tag, defines the type of the list item marker:

Type Description
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

 


Basic Example of Ordered HTML List - The Type Attribute

The HTML <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.
index.html
Example: HTML
 <ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol> 

Output should be:

Basic Example of Ordered HTML List - The Type Attribute





Category:
Web Tutorial
Sub Category:
HTML Lists
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference