<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
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label><br>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br>
<input type="radio" id="other" name="gender" value="other">
<label for="other">Other</label>
<form action="/process.php">
<p>Please select your favorite fruits:</p>
<input type="radio" id="html" name="fav_fruit" value="Orange">
<label for="html">Orange</label><br>
<input type="radio" id="css" name="fav_fruit" value="Mango">
<label for="css">Mango</label><br>
<input type="radio" id="javascript" name="fav_fruit" value="Pawpaw">
<label for="javascript">Pawpaw</label>
<label>
<input type="radio" name="indoor-outdoor">Indoor
</label>
<div>
<label class="radio">
<input name="radio" type="radio" checked/>
<span>Awesome</span>
</label>
<label class="radio">
<input name="radio" type="radio" />
<span>Cool</span>
</label>
</div>
<input type="radio"value ="section b " name="section"id="sectionidb">
//Defination of radio button:
/*
In HTML, a radio button is used to select one of many given choices.
Radio buttons are shown in radio groups to show a set of related options, only one of which can be selected.
A radio button in HTML can be defined using the <input> tag.
*/