Answers for "how to select only one option in radio button in html"

3

html radio only one checked

<!--Just manke both names equal -->
<input type="radio" name="options" id="1"/>
<input type="radio" name="options" id="2"/>
Posted by: Guest on December-10-2020
-1

selecting only one radio button

<!-- Just give all the radio buttons the same name. 
Html will then allow you to select only one. -->

<input type="radio" name="radAnswer" />
Posted by: Guest on May-31-2021

Code answers related to "how to select only one option in radio button in html"

Browse Popular Code Answers by Language