Page 107 - modular_v2.0_HTML&_CSS_Fb
P. 107

Exercise



                 A.   Tick ( ) the correct option.

                      1.  Which of the following values of the TYPE attribute is used to create a check box field?

                          a.   BOX                                         c.   CHECKBOX
                          b.   CHECK-BOX                                   d.   CHECK

                      2.  Which of the following is the correct syntax for creating a password field?

                          a.   <INPUT TYPE="PASSWORD" NAME="PASSWORD"/>
                          b.   <INPUT TYPE="PASS" NAME="PASSWORD"/>

                          c.   <INPUT VALUE="PASSWORD" NAME="PASSWORD"/>
                          d.   <PASSWORD NAME="PASSWORD" VALUE="PASS">

                      3.  Which of the following attribute is used to specify the identity of a field on the web page?
                          a.   NAME                                        c.   RESET

                          b.   TEXT                                        d.   RADIO

                      4.  Which of the following attribute is used to create an action button control?
                          a.   SELECT                                      c.   BUTTON

                          b.   TEXT                                        d.   SUBMIT

                      5.  Which input type is used for selecting multiple options from a predefined list in a form?
                          a.   select                                      c.   radio

                          b.   checkbox                                    d.   text

                      6.  Which of the following buttons is used to clear all the values entered in the form fields?
                          a.   Submit                                      c.   Cancel

                          b.   Reset                                       d.   OK

                 B.   Write ‘T’ for true and ‘F’ for false.

                      1.  SIZE attribute specifies the horizontal size of a text box.                   ..........................

                      2.  A HTML form is an interface of a web page.                                    ..........................

                      3.  Select box  is used to create a multiline text box that can accept
                          long text values.                                                             ..........................

                      4.  VALUE attribute is used to specify the default value of the field.            ..........................

                      5.  <FORM> is an empty tag.                                                       ..........................






                                                                                                               105
                                                                                               Forms in HTML
   102   103   104   105   106   107   108   109   110   111   112