KnowledgeBoat Logo
|

Computer Applications

Consider the following HTML code :

<ol type='i'> 
    <li>First</li> 
    <li>Second</li> 
    <li>Third</li> 
    <li>Fourth</li> 
</ol> 

Choose the correct output that would be shown upon execution of the above code , from the choices given below:

1.  I.   First
    II.  Second
    III. Third
    IV.  Fourth
2. i.   First
   ii.  Second
   iii. Third
   iv.  Fourth
3. I   First
   II  Second
   III Third
   IV  Fourth
4. i   First
   ii  Second
   iii Third
   iv  Fourth

HTML Intro

4 Likes

Answer

i.   First
ii.  Second
iii. Third
iv.  Fourth

Reason — The "type" attribute with <OL> tag specifies the type of numbering style. With the <OL> tag, the type attribute may have a value of 'i' for lowercase Roman numerals.

Answered By

2 Likes


Related Questions