Page 222 - Webapplication11_C11_Flipbook
P. 222

21.  Statement: The TYPE attribute determines the field type of input field to be provided in the form.
                                                                                                 [CBSE Sample Paper, 2022]
                      i.  Type is the attribute of INPUT element      ii.  It cannot accept Image and Files.
                     iii.  Only A is True                             iv.  Only B is True
                 22.  p[lang="fr"]                                                               [CBSE Sample Paper, 2022]

                      Statement 1: This selects all paragraph elements whose lang attribute contains the word “fr”
                      Statement 2: Selects all paragraph elements whose lang attribute has a value of exactly “fr”
                      i.  Both Statement 1 and 2 are correct but the given code is erroneous.
                     ii.  Only statement 1 is correct for the given code.
                     iii.  Only statement 2 is correct for the given code.
                     iv.  Both the statements are correct for the given code.
                 23.  <style>...</style>                                                         [CBSE Sample Paper, 2022]
                      i.  The tag will override rules defined in any external style sheet file even when declared in the Inline style sheets.
                     ii.   Inline style sheets take the highest priority. So, it will override any rule defined in the above tags or rules defined in
                        any external style sheet file.
                     iii.  The tag will not override rules defined in any external style sheet file.
                     iv.  Inline style sheets have least priority.
                 24.  For publishing on a Website which of the following statements stands True.   [CBSE Sample Paper, 2022]
                      i.  To place your pages on the web you need a web server.
                     ii.    To place your pages on the web you need a web server. Commonly called hosts, web servers allow you to transfer
                        and store files including HTML documents only.
                     iii.  To place your pages on the web you need not have a web server.
                     iv.  Unless you have your own web server, you need to find a server to host your pages
                 25.   You are designing a webpage that is divided into several sections. Each section has a heading and a one-line quote.
                      The following example shows the top section rendered by using the browser default styles:  [CBSE Sample Paper, 2022]













                       You need to complete the markup for the top section using the appropriate HTML tags. Choose the appropriate tag from
                     the given options:
                      i.  <div>

                        <h1> Quote from yesterday </h1>
                        <p> Tomorrow is not promised <p/>
                     ii.  <span>
                         <p>Quote from yesterday<p/>
                        <h1>Tomorrow is not promised</h1>
                     iii.  <h1>
                         <span>Quote from yesterday</span>
                         <div>Tomorrow is not promised</div>
                     iv.  None of the above
                 26.  Statement 1: A relative link requires that you use a protocol and server path.   [CBSE Sample Paper, 2022]
                      Statement 2: You can use a relative link to reference images files from a repository on a different server.
                      i.  Statement 1 is True.                        ii.  Statement 2 is True
                     iii.  Both the statements are True               iv.  Both the statements are False

                220     Touchpad Web Applications-XI
   217   218   219   220   221   222   223   224   225   226   227