English

The following HTML code is expected to create an ordered list for a web page: Complete this code by filling in the blanks as per the specifications that follow: Line 1: Background color of the web - Computer Applications

Advertisements
Advertisements

Question

The following HTML code is expected to create an ordered list for a web page:

<html>
<body _________ : yellow> <!--line 1 -->
<p>
<font _________ = Helvetica> <!--line 2 -->
FESTIVALS OF INDIA
</p>
<_________> <!--line 3 -->
     <_________> HOLI <_________> <!--line 4 -->
     <_________> DIWALI <_________> <!--line 5 -->
<_________> <!--line 6-->

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

Line 1: Background color of the web page should be Yellow.

Line 2: Font for the paragraph should be Helvetica.

Line 3 and Line 6: An ordered list should start and end.

Line 4 and Line 5: Listing of the ordered list items.

Code Writing
Fill in the Blanks
Advertisements

Solution

<html>
<body bgcolor : yellow> <!--line 1 -->
<p>
<font face = Helvetica> <!--line 2 -->
FESTIVALS OF INDIA
</p>
<OL> <!--line 3 -->
     <L1> HOLI </L1> <!--line 4 -->
     <L1> DIWALI </L1> <!--line 5 -->
</OL> <!--line 6-->
shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×