CBSE Class 10 Computer Applications Question 33 of 48

HTML III — Audio, Video and Forms — Question 4

Back to all questions
4
Question

Question 4

What attribute is used for radio buttons ?

  1. radiobutton
  2. radiob
  3. radio
  4. optionbutton
Answer

radio

Reason — Radio buttons are created in the following manner:

<form>
...
<input type = "radio" name = "Gender" value = "male"> Male <br>
<input type = "radio" name = "Gender" value = "female">  Female
<br>
...
</form>

The TYPE attribute is set to "radio".