HTML <li> type Attribute
Note: The type attribute is deprecated Not Supported in HTML5.
Example
<ol>
<li type="a">One</li>
<li>Two</li>
<li>Three</li>
</ol>
<ol type="a">
<li type="1">One</li>
<li>Two</li>
<li>Three</li>
</ol>
<ol type="i">
<li type="a">One</li>
<li>Two</li>
<li>Three</li>
</ol>
Meaning
The type attribute specifies the numbering type
This type overrides the one used by its parent <ol> element, if any.
Note: This attribute has been deprecated; use the CSS list-style-type property instead.
Standard Syntax
<li type="a|A|i|I|1">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| a | lowercase letters |
| A | uppercase letters |
| i | lowercase Roman numerals |
| I | uppercase Roman numerals |
| 1 | numbers |