General HTML Questions Page 15

Ram Pothuraju




141.A html control can be created by using

   a)INPUT

   b)CON

   c)CONTROL

   d)CTRL

ans:a

142.To create a submit button in html form , we use

  a)<INPUT=SUBMIT>

  b)<INPUT BUTTON=SUBMIT>

  c)<INPUT BUTTON TYPE=SUBMIT>

  d)<INPUT TYPE=SUBMIT>

ans:d

143.which of the following creates a checkbox

  a)<input type="checkbox" name="bike">i have a bike

  b)<input="checkbox" name="bike">i have a bike

  c)<input type="check" name="bike">i have a bike

  d)<input="check" name="bike">i have a bike

ans:a

144.The name of the file to which the content is sent to upon clicking a
    submit button is defined by the attribute

  a)input

  b)action

  c)click

  d)none of the above

ans:b

145.Which of the following staments is true

  a)method="post" sends the data without displaying any data to the visitor.

  b)method="get" sends the data without displaying any data to the visitor.

  c)both are true

  d)both are false

ans:a

146. What character is displayed on the password forms when the user inputs characters?

    a)a random character.

    b)a '+' character.

    c)an asterisk.

    d)displays the password directly

ans:c

147. What attribute is used for radio buttons?

    a)radiobutton

    b)radios

    c)radio

    d)rbutton

ans:c

148. What attributes are valid for textarea input?

    a)just name.

    b)name, columns and rows.

    c)name and rows.

    d)none.

ans:b

149. What attributes can be used with the SELECT form?

    a)name and multiple

    b)name, multiple, rows and cols.

    c)name, multiple and size.

    d)all the above.

ans:c

150.size of the attribute is valid for a submit button

    a)True

    b)false

ans:b

151.What does XHTML stand for?

    a)EXtreme HyperText Markup Language

    b)EXtensible HyperText Marking Language

    c)EXtra Hyperlinks and Text Markup Language

    d)EXtensible HyperText Markup Language

ans:d

152.In a form,the URL to which the data in the text field is to be posted upon
    clicking the submit button should be given in which attribute

    a)ACTION

    b)METHOD

    c)TARGET

    d)NAME

ans:a

153.___________ element is used to group elements in a form together in a box

   a)FIELDSET

   b)LEGEND

   c)LABEL

   d)FORM

ans:a

154.<LEGEND> is used to

   a)group elements in a form together in a box.

   b)to add a caption to the box

   c)to label the elements in the form

   d)none of the above

ans:b

155.__________ is a single keyboard shortcut key that is used as the value of the attribute

ans:ACCESSKEY

156.CHECKED attribute is valid for which of the following element(s)

   a)RADIO

   b)CHECKBOX

   c)BUTTON

   d)PASSWORD

ans:a and b

157.What type of code is this sample?

Sample: <!--update this page in January-->

   a)Javascript

   b)a comment

   c)VBScript

   d)a hyperlink

ans:a

158.What is the limit of tables you can nest within another table?

   a)four

   b)unlimited

   c)ten

   d)two

ans:b

159.Which code will display two cells on top of each other in one column?

   a)<table>  <tr>  <td>  </td>  </tr>  <tr>  <td>  </td>  </tr>  </table>

   b)<table>  <tr>  <td>  </td>  <td>  </td>  </tr>  </table>

   c)<table>  <th>  <tr>  <td>  </td>  </tr>  </th> </table>

   d)<tr>  <td>  </td>  </tr>  <tr>  <td>  </td>  </tr>

ans:a

160.which of the following elements dont have ACCESSKEY attribute

   a)<INPUT TYPE=RESET>

   b)<INPUT TYPE=HIDDEN>

   c)both a & b

   d)<INPUT TYPE=RADIO>

ans:b





PREVIOUS NEXT

Post a Comment

0Comments

Post a Comment (0)