form radio button

<html>
<body>

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

<p>
When a user clicks on a radio-button, the button becomes checked, and all other buttons with the same name become unchecked
</p>

</body>
</html>

No comments:

Post a Comment