The ordered list uses the “type" attribute, which configures the symbols used for ordering the list.
For example:
<ol type=”A”> will number the list in Uppercase alphabetical order.
The code in red shows how the type="A" is inserted into the starting tag <ol>
<ol type ="A">
<li>Red</li>
<li> Blue</li>
<li>Green </li>
</ol>
Result:
A. Red <ol type ="I">
<li>Red</li>
<li> Blue</li>
<li>Green </li>
</ol>
Result:
I. Red <ul type ="circle">
<li>Red</li>
<li> Blue</li>
<li>Green </li>
</ul>
Result:
○RedThe following is a list of available values for the type attribute of the Ordered List Element:
The following is a list of available values for the type attribute of the Unordered Element:
NOTE: The type attribute for Unordered List is not used in HTML5.
CSS must be used to configure these attributes by using the property list-style-type.
Click here for an example.
This is the default attribute type. You do not need to add the type="disc"