Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 27 - 2615_KEC
P. 27

    New Roman; text-
                     transform:lowercase">Energy is
                     a requirement in our everyday
                     life as a way of improving human
                     development leading to economic
                     growth and productivity.</P>

                     </BODY>
                     </HTML>

                            Hashtag

                          #CSS: Method of styling the elements of a webpage
                          #Margin: Margin is the space that appears around an element

                          REVISIT

                       ▶  HTML makes it easy to alter the style of individual elements on a webpage.
                       ▶  Text properties are used to change the appearance of the text.
                       ▶  The background properties are used to put the background on a webpage.
                       ▶  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.  Which CSS property is used to align the text?

                            (i)  text-color                                   (ii)  text-align
                           (iii)  text-indent                                 (iv)  text-decoration

                        b.  Which CSS property is used to set the background colour of a webpage?

                            (i)  background-image                             (ii)  background-repeat
                           (iii)  background-color                            (iv)  text-align
                        c.  Identify property is used to change the text to uppercase.

                            (i)  text-transform                               (ii)  text-decoration
                           (iii)  font-style                                  (iv)  text-align

                        d.  Which of the following is not a text decoration option?
                            (i)  underline                                    (ii)  overline

                           (iii)  bold                                        (iv)  strikethrough

                                                                                                Formatting a Webpage  25

| 22 23 24 25 26 27 28 29 30 31 32 |