English

Consider the following HTML code:

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

    1. First
    2. Second
    3. Third
    4. Fourth
    1. First
    2. Second
    3. Third
    4. Fourth
    1. First
    2. Second
    3. Third
    4. Fourth
    1. First
    2. Second
    3. Third
    4. Fourth
MCQ
Fill in the Blanks
Advertisements

Solution

  1. First
  2. Second
  3. Third
  4. 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?
Chapter 3: HTML- I: Basic HTML Elements - Assisted Practice [Page 120]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 3 HTML- I: Basic HTML Elements
Assisted Practice | Q 10. | Page 120
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×