Advertisements
Advertisements
Question
Differentiate check box and Radio button.
Distinguish Between
Advertisements
Solution
| Sr. No. | Radio button | Checkbox |
| 1. | Radio buttons are used when we need to pick a single option out of various available alternatives. | A checkbox authorises us to choose one or more options. |
| 2. | Here we use an HTML <input> tag and set the radio as a type attribute. | We use the HTML <input> tag followed by the checkbox attribute. |
| 3. | Radio button is a single control unit. | Checkbox is a multiple control unit. |
| 4. | When we need to restrict the user’s selection to just one option, then we use it. | It is operated when we need to permit the user to choose multiple options. |
| 5. | It is shown as a little circle on the screen. | It is shown as a small square box. |
shaalaa.com
Is there an error in this question or solution?
