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>
<p>
<font face = Helvetica>
FESTIVALS OF INDIA
</p>
<OL>
<LI> HOLI </LI>
<LI> DIWALI </LI>
</OL>shaalaa.com
Is there an error in this question or solution?
