English

What attribute is used for radio buttons?

Advertisements
Advertisements

Question

What attribute is used for radio buttons?

Options

  • radiobutton

  • radiob

  • radio

  • optionbutton

MCQ
Advertisements

Solution

radio

Explanation:

Radio buttons are generated as follows:

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

shaalaa.com
  Is there an error in this question or solution?
Chapter 5: HTML- III: Audio, Video and Forms - Assignment [Page 233]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 5 HTML- III: Audio, Video and Forms
Assignment | Q 4. | Page 233
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×