Tryit Editor v1.4

<html> <body> <form action=""> Male: <input type="radio" name="Sex" value="male" checked="checked" /> <br /> Female: <input type="radio" name="Sex" value="female" /> </form> <p> <b>Note:</b> When a user clicks on a radio-button it 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