Tryit Editor v1.4

<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> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself