Page 107 - CA_165_V2.0_Flipbook
P. 107

3.   Which attribute does not come in <HR> tag?
                         i.  Size                                            ii.  Color
                         iii.  Width                                         iv.  Length
                     4.   Which of the following attributes is used to define the thickness of horizontal rule?

                         i.  Size                                            ii.  Noshade
                         iii.  Width                                         iv.  Align
                     5.  Which attribute is not valid for <BODY> tag?

                         i.  background                                      ii.  type
                         iii.  vlink                                         iv.  leftmargin

                   Ans.   1. iv.    2. ii.    3. iv.    4. i.    5. ii.


                 Unsolved Exercise


                                                              SECTION A
                                                      (Objective Type Questions)

                 A.   Multiple choice questions.
                     1.   Which of the following tags does not come in the basic structure of HTML?

                         i.  <HTML>                                          ii.  <HEADING>
                         iii.  <BODY>                                        iv.  <TITLE>
                     2.   Which attribute is NOT valid for the <BODY> tag?                             [CBSE SQP 2021]

                         i.  BACKGROUND                                      ii.  COLOR
                         iii.  VLINK                                         iv.  BGCOLOR
                     3.   Which of the following is an attribute of <P> tag?

                         i.  START                                           ii.  ALIGN
                         iii.  TYPE                                          iv.  BGCOLOR
                     4.   HTML tag to draw horizontal line:                                            [CBSE SQP 2021]

                         i.  <HL>                                            ii.  <HR>
                         iii.  <HLINE>                                       iv.  None of these

                     5.   The correct HTML code to display (P+Q)  is:                                  [CBSE SQP 2021]
                                                            2
                         i.  <SUB>(P+) 2</SUB>                               ii.  P+Q <SUP> 2 </SUP>
                         iii.  (P+Q)<SUP> 2 </SUP>                           iv.  <SUP> (P+Q) 2</SUP>

                     6.   Which HTML tags cause browsers to render text as italics?                    [CBSE SQP 2021]
                         i.  <TEXT STYLE = "ITALICS"></TEXT>                 ii.  <ITAL.></ITAL.>
                         iii.  <I></I>                                       iv.  <B></B>

                     7.   The correct HTML code for inserting an image is:                             [CBSE SQP 2021]
                         i.  <IMG HREF = "image.gif">                        ii.  <IMG> image.gif</GIF>
                         iii.  <IMAGE SRC = "image.gif">                     iv.  <IMG SRC = "image.gif">




                                                                                         Introduction to HTML    105
   102   103   104   105   106   107   108   109   110   111   112