select only 1 radio button html code example
Example 1: radio buttons html
<input type="radio" name="gender" value="male"> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other
Example 2: html radio only one checked
<!--Just manke both names equal -->
<input type="radio" name="options" id="1"/>
<input type="radio" name="options" id="2"/>
Example 3: radio button css only 1
<input type="radio" name="radAnswer" />
<input type="radio" name="radAnswer" /> same name