Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 43 - 2606_PlugGPT_C6_Flipbook
P. 43

    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 of the following elements is not controlled by CSS?

                            (i)  Text                                   (ii)  Title bar
                           (iii)  Background                            (iv)  Font
                        b.  Where is the <style> tag usually placed?

                            (i)  <body>                                 (ii)  <title>
                           (iii)  <head>                                (iv)  <html>

                        c.   Which of the following font properties specifies the font to be used?
                            (i)  Font-style                             (ii)  Font-family
                           (iii)  Font-size                             (iv)  Font-margin

                        d.  What can be changed using the font properties?
                            (i)  Font Size                              (ii)  Font Family

                           (iii)  Font Style                            (iv)  All of these
                        e.  Which of the following properties is used to underline the text on the webpage?
                            (i)  Text-transformation                    (ii)  Text-decoration

                           (iii)  Text-color                            (iv)  All of these
                        f.  Which of the following is used to style text on a webpage?

                            (i)  Text Properties                        (ii)  Background Properties
                           (iii)  Font Properties                       (iv)  All of these

                                                                                                Formatting a Webpage  41

| 38 39 40 41 42 43 44 45 46 47 48 |