+ 8
What is a tag to use roman number in an ordered list?
3 Antworten
+ 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.
+ 6
Use type="i".
For example:
<ol type="i">
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
+ 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>