, and their behavior is defined in the HTML specification. (As with checkboxes, a radio button group is a collection of radio buttons with the same name attribute.). Let’s learn how to use radio buttons in HTML forms to get user input. 5. The value in this case will be used only during form processing. When one radio button is chosen, all others will be disabled. There are two appropriate ways to layout radio buttons in HTML. Radio buttons are designed to do this. then it will fill with another fulled circle. To avoid confusion as to whether a radio button group is required or not, authors are encouraged to specify the attribute on all the radio buttons in a group. You can set a default value by using the checked attribute. HTML.am aims primarily at beginners, but may also be useful to web professionals. Underground Radios. . A radio button is a form element that allows the user to select one option from a range of options.