Page 29 - KEC Khaitan C7 Flipbook
P. 29
e. Which of the following CSS properties specifies the repetition of an image on the webpage?
(i) background-color (ii) background-image
(iii) background-repeat (iv) repeat
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. 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?
_______________________________________________________________________________________
_______________________________________________________________________________________
c. You want to create an image gallery of your certificates for your digital portfolio. Which HTML tag
would you use to display images in your portfolio? List the three important attributes that help
ensure the images load correctly and display as intended.
_______________________________________________________________________________________
_______________________________________________________________________________________
Formatting a Webpage 27

