Advertisements
Advertisements
Question
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:
Options
- First
- Second
- Third
- Fourth
- First
- Second
- Third
- Fourth
- First
- Second
- Third
- Fourth
- First
- Second
- Third
- Fourth
MCQ
Fill in the Blanks
Advertisements
Solution
- First
- Second
- Third
- Fourth
Explanation:
By default, an ordered list (<ol>) in HTML renders sequence numbers using standard Arabic numerals (1, 2, 3, 4) followed by a period, unless a different type attribute is specified.
shaalaa.com
Is there an error in this question or solution?
