Question:

Write the HTML code snippet to create an Ordered List of the top three winners of a competition. However, the list should start numbering from '4' instead of '1'. List items are as shown below:
(4. Rahul, 5. Sneha, 6. Amit)

Show Hint

Which attribute of the ol tag decides the first number?
Updated On: Nov 3, 2026
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: Understanding the Question:
We need an ordered (numbered) list of three names, where the first number is 4 instead of 1.

Step 2: Choose the tags:
The <ol> tag makes an ordered list. Each item goes in an <li> tag.

Step 3: Change the starting number:
The start attribute of <ol> sets the first number. With start="4" the items are numbered 4, 5 and 6.

Step 4: Write the code:
<ol start="4">
  <li>Rahul</li>
  <li>Sneha</li>
  <li>Amit</li>
</ol>


Final Answer:
ol with start=4 and three li items gives 4. Rahul, 5. Sneha, 6. Amit. \[ \boxed{\text{ol start = 4}} \]
Was this answer helpful?
0
0

Top CBSE X Questions

View More Questions