KnowledgeBoat Logo

Computer Applications

What attribute is used for radio buttons ?

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

HTML Advanced Features

1 Like

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".

Answered By

1 Like


Related Questions