How can i add alphabets to number? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How can i add alphabets to number?

instead of getting ordered list numbered as numbers how can I get alphabets

6th Jul 2017, 2:21 PM
Teresa Narayan Bhat
Teresa Narayan Bhat - avatar
2 Respostas
+ 13
Here you go : <ol type="a"> <li>Alpha</li> <li>Bet</li> </ol>
6th Jul 2017, 2:26 PM
Dev
Dev - avatar
+ 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.
6th Jul 2017, 2:27 PM
AgentSmith