<form>
<p>Check the languages you are most proficient in.</p>
<input type="radio" name="chooseone" value="HTML"><label for="HTML"> HTML</label><br>
<input type="radio" name="chooseone" value="CSS"><label for="CSS"> CSS</label><br>
<input type="radio" name="chooseone" value="JS"><label for="JS"> JS</label><br>
<input type="radio" name="chooseone" value="PHP"><label for="PHP"> PHP</label><br>
<input type="radio" name="chooseone" value="Ruby"><label for="Ruby"> Ruby</label><br>
<input type="radio" name="chooseone" value="INTERCAL"><label for="INTERCAL"> INTERCAL</label><br>
</form>
Last Updated on
The radio input type displays a radio button that the user can toggle on and off. radio differs from checkbox in the way it is displayed.
When building a list of radio buttons, the name attribute must be identical for each option in the list. This ensures that only one radio input in the group can be selected.
When the form is submitted, it will include the contents of the value attribute corresponding to the selected radio button.
Specifies the browsing context in which to open the response from the server after form submission. For use only on input types of "submit" or "image".
Defines an initial value or default selection for an input field.
0shares
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok