Reset and Submit Example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>HTML/XHTML: » Reset and Submit Example</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> </head> <body> <div class="content"> <h3 align="center">Gadget Order Form</h1> <hr /> <form action="http://www.htmlref.com/scripts/formecho.php" method="post" name="form1" id="form1"> <strong>Customer Name:</strong> <input type="text" name="UserName" id="UserName" size="25" maxlength="35" /> <br /> <strong>Password:</strong> <input type="password" name="Pass" id="Pass" size="10" maxlength="10" /> <br /> <strong>Gadget Type:</strong> <select name="GadgetType" id="GadgetType"> <option value="SG-01">Super Gadget</option> <option value="MEG-G5">Mega Gadget</option> <option value="MO-45">Mongo Gadget</option> <option selected="selected">Gadget</option> </select> <br /><br /> <input type="submit" value="Order Gadget" /> <input type="reset" value="Reset Form" /> </form> </div> </body> </html>