Single choice : Form RadioButton « Form « HTML / CSS






Single choice

<html>
<body>

<form>
Male: 
<input type="radio" checked="checked"
name="Sex" value="male">
<br>
Female: 
<input type="radio"
name="Sex" value="female">
</form>

</body>
</html>



           
       








Related examples in the same category

1.Radio Button Example
2.Form action with radio button