English

Refer to the incomplete HTML code given below and complete the code based on the specifications provided. Complete this code by filling in the blanks as per the specifications that follow: - Computer Applications

Advertisements
Advertisements

Question

Refer to the incomplete HTML code given below and complete the code based on the specifications provided.

<html>
<head>
______ </head>           <!-- Line 1 -->
<body>
<h1>My Favourite Fruits<h1>
<ol ______ ="I" ______ ="3"> <!-- Line 2 & 3 -->
______                   <!-- Line 4 -->
<li>Banana</li>
</ol>
</body>
</html>

Complete this code by filling in the blanks as per the specifications that follow:

  1. Line 1: Set the web page title to ‘About Me’.
  2. Line 2: The ordered list should use uppercase Roman numerals for numbering.
  3. Line 3: The list should begin with Roman numeral III.
  4. Line 4: The first list item should be ‘Apple’.
Long Answer
Advertisements

Solution

  • Line 1: <title>About Me</title>
  • Line 2: type (used to set numbering to Roman numerals “I”)
  • Line 3: start (used to begin the list from the 3rd position)
  • Line 4: <li>Apple</li> (to add the first fruit)

The <title> The tag identifies the page in the browser tab. In the <ol> (ordered list) tag, the type attribute defines the style of numbering, while the start An attribute defines the numerical starting point.

shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×