Page 96 - 2633 Trackpad Pro V5.1 Class 7
P. 96

1.  Tick ( ) the correct option.

                     a.  Identify the CSS property used to set a border around an image.


                         (i)  Outline                                      (ii)  Border
                        (iii)  Frame                                       (iv)  <Stroke

                     b.  Spot the pseudo-class for hyperlinks that have not been clicked yet.

                         (i)  a:active                                     (ii) a:hover

                        (iii)  a:link                                      (iv)  a:visited

                     c.  Select the CSS property used to set the thickness of a border.

                         (i)  border-style                                 (ii)  border-color

                        (iii)  border-width                                (iv)  a:active

                     d.  Which property is used to change the text size?

                         (i)  style                                        (ii)  size
                        (iii)  face                                        (iv)  None of these


                     e.  Choose the correct way to set a 20px margin on all sides of an element.

                         (i)  margin:20px;                                 (ii)  margin:0px 20px;
                        (iii)  margin:10px 10px;                           (iv)  margin:20px 0px;


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


                                           a:hover, border-width, border-color, margin

                     a.   The CSS property used to set the width of an image border is called _______________.

                     b.  _______________ this property signifies a hyperlink on which the user’s mouse is hovering.

                     c.  The CSS property used to set the color of a border is _______________.

                     d.  The _______________ property is used to set margins for any web page element.

                  3.  Write 'T' for true and 'F' for false.


                     a.  The height property in CSS can set the width of an element by itself.

                     b.  The a:active property applies when the user is currently clicking a hyperlink.







                   94   Premium Edition-VII
   91   92   93   94   95   96   97   98   99   100   101