Page 91 - TP_Pro_V5.1_Class6
P. 91
2. Fill in the blanks using the words from the help box.
text-decoration, strikethrough, font-size, repeat-y, margin, color
a. The ______________ CSS property used to change the font size.
b. To make text appear with a line through it, we use the ______________ property with the value
______________.
c. The property to set the colour of text is ______________.
d. If you want the background image to repeat only vertically, you use background-repeat:
______________.
e. The CSS property that sets the space around an element is called ______________.
3. Answer in one or two words.
a. Which CSS property specifies the image to be used in the background on
the webpage? ___________
b. Name the CSS property to specify the indentation of the first line of the text. ___________
c. What is the default font size in pixels for HTML text? ___________
d. What are the different values used with the font-style property? ___________
e. Name one unit in which the margin value can be measured. ___________
4. Think and answer.
a. What is the purpose of the background-image property?
_______________________________________________________________________________________
b. Write the HTML code to set the text size as 20px using CSS.
_______________________________________________________________________________________
c. How can you change the font family of a paragraph in HTML?
_______________________________________________________________________________________
d. Mention the use of background properties.
_______________________________________________________________________________________
5. Differentiate between the following:
background-color color
______________________________________ ______________________________________
______________________________________ ______________________________________
21 st
6. Competency-based/Application-based questions. Century #Technology Literacy
Skills #Productivity & Accountability
a. Priya is designing a webpage in which she wants the first line of her paragraph to be indented by 50 pixels.
Which code should she write to do so?
b. Sahil has created a webpage with the heading "Save the Earth". He wants to add a
background image of a globe and ensure that it doesn’t repeat horizontally or vertically.
How can he do this?
Formatting a Webpage 89

