Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 135 - 2612 Digimind C6
P. 135

    2.  Fill in the blanks using the words from the help box.

                                     text-decoration, linethrough, 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 web page?                                                                    ___________

                        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   #Technology Literacy
                     6.  Competency-based/Application-based questions.                      Century   #Productivity & Accountability
                                                                                              Skills
                        a.   Priya is designing a web page 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 web page 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 Web Page  133

| 130 131 132 133 134 135 136 137 138 139 140 |