+ 9

How we add roman number in ordered list in html?

5th Sep 2019, 2:09 PM
Tapish
Tapish - avatar
7 Respuestas
+ 14
<ol type=“i”> => roman lowercase <ol type=“I”> => roman uppercase good luck!!! 💪💪
5th Sep 2019, 2:16 PM
Eze
+ 5
Thanks for this
6th Sep 2019, 2:42 PM
Tapish
Tapish - avatar
+ 4
Você of the word
6th Sep 2019, 4:33 PM
Gabriel Caldeira Bicalho
Gabriel Caldeira Bicalho - avatar
+ 2
<!DOCTYPE html> <html> <head> <title></title> </head> <body> <ul id="roman1"> <li> sup?</li> <li>upper roman? </li> </ul> <ul id="roman2"> <li> sup?</li> <li>lower roman? </li> </ul> <style type="text/css"> #roman1 { list-style-type:upper-roman; } #roman2 { list-style-type:lower-roman; } </style> </body> </html> i used unordered list just to show what is possible instead of ordered list also internal css is not recommended..most external css is used but for this i used it....Happy coding
7th Sep 2019, 6:10 AM
kay cruz
kay cruz - avatar
+ 1
<ol type="I"> </ol>
9th Sep 2019, 4:16 AM
Lakhan Rajput
Lakhan Rajput - avatar
0
Use type attribute and set the value to 'i' for lowercase and 'I' for uppercase in ol tag . <ol type="I">
6th Sep 2019, 2:17 PM
Kaustuv Anand
Kaustuv Anand - avatar
- 5
https://code.sololearn.com/WRuCdJ4coEBV/?ref=app This is a code showing the answer in it!! Please have a look at it!
6th Sep 2019, 9:16 AM
Pratham0607
Pratham0607 - avatar