What is difference between radio and checkbox | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is difference between radio and checkbox

23rd Jul 2016, 6:20 AM
shaik mahaboob sharief
shaik mahaboob sharief - avatar
5 Answers
+ 2
Actually, with radio buttons, it's meant to choose between two options, like 'yes' or 'no', 'male' or 'female' etc.. Whereas checkboxes are used with multiple options.
23rd Jul 2016, 9:56 AM
ZinC
ZinC - avatar
+ 1
@ZinC that isn't accurate. with radio buttons you can only choose one option while checkboxes allow multiple choice. So, for example, you could have a set of radio buttons for "education" labeled "didn't finish highschool", "finished highschool", "academic degree", "advanced degree", because it is clear that you shouldn't pick more than 1. a set of checkboxes for "sexual preferences" could include 2 options (i.e. "male" and "female"), but still let you choose both (or none, if you want). The main point is that radio buttons act like buttons on old radios/cassette players - once you press one of them, the previously pressed choice pops back out, so that at all times there is only one option selected.
4th Aug 2016, 4:57 AM
Uriel Zylbermann
Uriel Zylbermann - avatar
+ 1
Using radio user can select only one option in html but using checkbox user got chance to select multiple option.
7th Aug 2016, 2:51 AM
Naveen Kumar
Naveen Kumar - avatar
0
Got it yaar thanks
23rd Jul 2016, 6:38 AM
shaik mahaboob sharief
shaik mahaboob sharief - avatar
- 1
Nothing much the difference is just that in radio there are circular options and in chekbox there are square boxes to choose
23rd Jul 2016, 6:35 AM
Shashank Sharma