+ 1

While listing an item using ordered list,<ol> what if I want it to list with i, ii, iii n so on..

15th May 2019, 10:51 AM
Idara Emmanuel Ekong
Idara Emmanuel Ekong - avatar
2 odpowiedzi
+ 11
Include type beside ol and you can do like this <ol type="i"> <li>one</li> <li>two</li> <li>three</li> </ol>
15th May 2019, 10:55 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 5
It would be better to use CSS as this is a styling issue. It's best to separate your HTML markup from the styles for better maintainability. Use the list-style-type CSS property. The declaration would be list-style-type: lower-roman; https://www.w3schools.com/cssref/pr_list-style-type.asp
15th May 2019, 11:55 AM
Lisa F
Lisa F - avatar