Advertisements
Advertisements
Question
An incomplete CSS code within <head> ... </head> is given below. Complete this code by filling in the blanks as per the specifications that follow.
<head>
<style>
body {__________ : __________; } <!--line 1 -->
p {
__________ : __________; <!--line 2 -->
__________ : __________; <!--line 3 -->
}
__________ <!--line 4 -->
{
Color : Blue;
}
</style>
</head>
Line 1: Page background color should be Yellow.
Line 2: Color of the paragraph text should be Red.
Line 3: Font family of the paragraph text should be Arial.
Line 4: The second biggest heading should be Blue in color.
Code Writing
Fill in the Blanks
Advertisements
Solution
<head>
<style>
body {bgcolor : yellow; } <!--line 1 -->
p {
color : blue; <!--line 2 -->
font-family : Arial; <!--line 3 -->
}
H2 <!--line 4 -->
{
Color : Blue;
}
</style>
</head>shaalaa.com
Is there an error in this question or solution?
