हिंदी

Nisha, a Class X student, is designing an HTML page to display a description list and an ordered list for her project. She writes the following code: - Computer Applications

Advertisements
Advertisements

प्रश्न

Nisha, a Class X student, is designing an HTML page to display a description list and an ordered list for her project. She writes the following code:

<html>
<body bgcolor="lightgrey">
<h2>Indian Cities</h2>
<dl>
<dt>Mumbai</dt>
<dd>The City of Dreams</dd>
<dt>Kolkata</dt>
______<!--line 1-->
</dl>
<p>Popular Cities in India:</p>
<ol type="______" start="______"><!--line 2-->
<li>Delhi</li>
<li>Mumbai</li>
______<!--line 3-->
</ol>
</body>
</html>

Based on the above code, fill in the blanks in line 1, line 2, and line 3 as per specifications given below.

  • In line 1, add the description “The City of Joy” for Kolkata.
  • In line 2, specify the type of ordered list as Roman numerals and set the starting value as 5.
  • In line 3, add the name of another city, Chennai as the third list item.
रिक्त स्थान भरें
Advertisements

उत्तर

<html>
<body bgcolor="lightgrey">
<h2>Indian Cities</h2>
<dl>
<dt>Mumbai</dt>
<dd>The City of Dreams</dd>
<dt>Kolkata</dt>
<dd>The City of Joy</dd>
</dl>
<p>Popular Cities in India:</p>
<ol type="l" start="5"> <!-- line 2 --> 
<li>Delhi</li>
<li>Mumbai</li>
<li>Chennai</li>
</ol>
</body>
</html>

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×