Page 94 - Chinmaya_C6_flipbook
P. 94

Hashtag

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





                       REVISIT


                    ▶  HTML makes it easy to alter the style of individual elements on a web page.
                    ▶  Cascading Style Sheets (CSS) is a convenient method of styling the elements of a web page.
                    ▶   The selector specifies the element to which we want to apply the formatting and the declaration specifies the
                      formatting to the selector.
                    ▶  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.  Which part of the style sheet specifies the formatting to the selector?
                         (i)  Selector                                (ii)  Declaration

                        (iii)  Tags                                  (iv)  Bands
                     b.  Which tag uses <STYLE> tag inside it?
                         (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





                   92   Premium Edition-VI
   89   90   91   92   93   94   95   96   97   98   99