0
How can i add alphabets to number?
instead of getting ordered list numbered as numbers how can I get alphabets
2 Respuestas
+ 13
Here you go :
<ol type="a">
<li>Alpha</li>
<li>Bet</li>
</ol>
+ 1
On your OL, set the 'type' attribute on it.
1 Default. Decimal numbers (1, 2, 3, 4)
a Alphabetically ordered list, lowercase (a, b, c, d)
A Alphabetically ordered list, uppercase (A, B, C, D)
i Roman numbers, lowercase (i, ii, iii, iv)
I Roman numbers, uppercase (I, II, III, IV)
Example:
<ol type="A">
^That would give you letters instead of numbers.