Advertisements
Advertisements
प्रश्न
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:
- Line 1: Set the web page title to ‘About Me’.
- Line 2: The ordered list should use uppercase Roman numerals for numbering.
- Line 3: The list should begin with Roman numeral III.
- Line 4: The first list item should be ‘Apple’.
दीर्घउत्तर
Advertisements
उत्तर
- 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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
