What is a tag to use roman number in an ordered list? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

What is a tag to use roman number in an ordered list?

20th Feb 2016, 9:50 AM
Md Shadan Altmash
Md Shadan Altmash - avatar
3 Answers
+ 21
As we know <OL> tag is used for making Ordered Lists. <OL> tag has two attributes - TYPE and START. TYPE attribute is used to assign a particular type of character to it and this the only one which will help in this case. Now, the TYPE attribute specifies following numbering patterns - a) <OL TYPE="1"> b) <OL TYPE="I"> c) <OL TYPE="i"> d) <OL TYPE="A"> e) <OL TYPE="a"> Now, you are smart enough (or I guess more than that) to decide that b) <OL TYPE="I"> and c) <OL TYPE="i"> will help you make Ordered List with Roman Numbers. Ex (1) for capital Roman letters, <OL TYPE="I"> <LI> Art</LI> <LI>Craft</LI> <LI>Music</LI> <LI>Games</LI> </OL> Ex (2) for small Roman letters, <OL TYPE="i"> <LI> Art</LI> <LI>Craft</LI> <LI>Music</LI> <LI>Games</LI> </OL> Hope you got it, Please UPVOTE if you liked.
5th Jun 2016, 4:21 PM
Asher Ejaz
Asher Ejaz - avatar
+ 6
Use type="i". For example: <ol type="i"> <li>One</li> <li>Two</li> <li>Three</li> </ol>
23rd May 2016, 3:55 PM
James Flanders
+ 5
if you want to other serial number you can use it {1,2,3...}= <ol> <li>one</li> <li>two</li> <li>three</li> </ol> {•,•,•...}= <ul> <li>one</li> <li>two</li> <li>three</li> </ul> {a,b,c...}= <ol type="a"> <li>one</li> <li>two</li> <li>three</li> </ol> {A,B,C...}= <ol type="A"> <li>one</li> <li>two</li> <li>three</li> </ol> {i,ii,iii..}=<ol type="i"> <li>one</li> <li>two</li> <li>three</li> </ol> {I,II,III..}=<ol type="I"> <li>one</li> <li>two</li> <li>three</li> </ol> {square}= <ul type="square"> <li>one</li> <li>two</li> <li>three</li> </ul> {circle}= <ul type="circle"> <li>one</li> <li>two</li> <li>three</li> </ul>
3rd Aug 2016, 6:53 AM
Ankur Pawar
Ankur Pawar - avatar