What does<input type="radio">do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does<input type="radio">do?

Defines a circular selection button in a form.

4th Apr 2017, 6:39 PM
Maruf Learner
Maruf Learner - avatar
4 Answers
+ 18
When there are multiple choices but user can choose ONLY ONE option, use radio button. If user should be able to choose multiple answers, then use checkbox instead.
4th Apr 2017, 7:16 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 5
Thats a Radio button
4th Apr 2017, 6:41 PM
Meharban Singh
Meharban Singh - avatar
+ 5
Defines one choice at a time menu, eg. you have seen to select gender, you can choose either one. That's radio.
4th Apr 2017, 8:27 PM
Sachin Artani
Sachin Artani - avatar
+ 1
yeah that's it then you can use that as form of selection.
4th Apr 2017, 6:55 PM
Waren Gonzaga
Waren Gonzaga - avatar