Page 191 - CA_165_V2.0_Flipbook
P. 191

Unsolved Exercise



                                                              SECTION A
                                                      (Objective Type Questions)
                 A.   Multiple choice questions.
                     1.   Which symbol is used in a universal selector in CSS?
                         i.  *                                        ii.  #

                         iii.  /                                      iv.  None of these
                     2.   <STYLE> tag is written inside which tag?
                         i.  <HTML>                                   ii.  <BODY>
                         iii.  <HEAD>                                 iv.  None of these
                     3.   Which CSS property is used to change the type of font?

                         i.  Font-Type                                ii.  Font-Style
                         iii.  Font-Family                            iv.  Font-Size
                     4.   Which property changes the appearance of text to upper, lower case?
                         i.  Text-Transform                           ii.  Font-Transform
                         iii.  Font-weight                            iv.  Text-Decoration
                     5.   Which property is used to set the image as background of the web page in CSS?

                         i.  Background                               ii.  Background-image
                         iii.  Background image                       iv.  Back-image
                     6.   Which brackets are used to write the internal style rules?
                         i.  <>                                       ii.  {}
                         iii.  ()                                     iv.  []

                     7.   What type of CSS is the following code snippet?                           [CBSE SQP 2022-23]
                         <h1 style="color:blue;">A Blue Heading</h1>
                         i.  External                                 ii.  Inline
                         iii.  Outline                                iv.  Internal
                     8.     Aarav, a student of Class X, wants to control the size of the text in his web page. Which of the following
                         CSS properties should he use?
                         i.  font-style                               ii.  text-size
                         iii.  font-size                              iv.  text-style

                 B.   Fill in the blanks.
                     1.   Cascading Style Sheets is commonly referred as ..................................... .
                     2.   CSS style rule is made of two parts i.e. ..................................... and ..................................... .
                     3.   A CSS declaration block is enclosed by ..................................... and always ends with a ..................................... .

                     4.   ..................................... property of style sheet is used to change the background colour of an element.
                     5.   The internal style is given using the <style> tag in the ..................................... section.








                                                                                        Cascading Style Sheets   189
   186   187   188   189   190   191   192   193   194   195   196