Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 134 - 2612 Digimind C6
P. 134

    REVISIT

                        ▶  HTML makes it easy to alter the style of individual elements on a web page.
                        ▶  Text properties are used to change the appearance of the text.
                        ▶  The background properties are used to put the background on a web page.
                        ▶  The font properties are used to change the font-family, font-size and font-style of the text.
                        ▶  Margin is the space that appears around an element.

                      1.  Tick ( ) the correct option.

                         a.  Riva is designing a web page for her school project. She wants the heading text to appear center-
                            aligned on the page. Which CSS property should she use to align the text?
                             (i)  text-color                                (ii)  text-align

                            (iii)  text-indent                              (iv)  text-decoration
                         b.  Aman is creating a personal website and wants to change the background colour of the entire web
                            page to light blue. Which CSS property should he use?

                             (i)  background-image                          (ii)  background-repeat

                            (iii)  background-color                         (iv)  text-align
                         c.  While designing a web page, Neha wants all the menu items to appear in UPPERCASE letters, even
                            if they were typed in lowercase. Which CSS property will help her do this?
                             (i)  text-transform                            (ii)  text-decoration

                            (iii)  font-style                               (iv)  text-align

                         d.  Rahul is experimenting with text styles in CSS. He applies underline and overline effects successfully,
                            but one option does not work as a text decoration. Which of the following is not a text-decoration
                            option?

                             (i)  underline                                 (ii)  overline

                            (iii)  bold                                     (iv)  linethrough
                         e.  Sneha adds a small image as the background of her web page and notices that the image repeats
                            itself across the page. Which CSS property controls the repetition of a background image?

                             (i)  background-color                          (ii)  background-image
                            (iii)  background-repeat                        (iv)  repeat

                      132   Premium Edition-VI

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