Radio
Can be used in forms.
This is an example of a radio button group without initial selection. Radio buttons gives the user options of which only one can be chosen.
Only the HTML and CSS are necessary to create the input field along with all the interactions. No JavaScript required.
Code: 🔼
Radio (default: checked)
Can be used in forms.
This is an example of a radio button group. Radio buttons gives the user options of which only one can be chosen.
Only the HTML and CSS are necessary to create the input field along with all the interactions. No JavaScript required.