What is difference between radio and checkbox | SoloLearn: Learn to code for FREE!


What is difference between radio and checkbox

7/23/2016 6:20:44 AM

shaik mahaboob sharief

5 Answers

New Answer


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.


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


Using radio user can select only one option in html but using checkbox user got chance to select multiple option.


Got it yaar thanks


Nothing much the difference is just that in radio there are circular options and in chekbox there are square boxes to choose