What Are Radio Buttons?

What are Radio Buttons?

Radio input elements are typically used in radio groups where only one button can be selected at a time. You can try out the radio button example to see how it works.


<input type="radio">

<input> elements of type radio are generally used in radio groups-collections of radio buttons describing a set of related options.

Only one radio button in a given group can be selected at the same time. Radio buttons are typically rendered as small circles, which are filled or highlighted when selected.


Source: Mozilla, https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.