Radio Buttons in HTML Forms

The Web Book

Customer Type: Corporate Home User


HTML Form Radio Buttons Example Code

<!DOCTYPE html> <html> <body> <form action="http://www.abc.com/submit.php"> <p><b>Customer Type:</b> <input type="radio" name="ctype" value="Corporate" checked="checked" /> Corporate <input type="radio" name="ctype" value="Home User" /> Home User </p> </form> </body> </html> Back