<!DOCTYPE html>
<html>
<head>
<title>Full HTML entry from</title>
<link rel="stylesheet" type="text/css" href="form.css">
</head>
<body bgcolor="lightyellow">
<h1><center>The Ice Cream Shop</center></h1>
<h3>Form elements processed generically (including GET and POST)</h3>
<h4>GET param passed as part of action=url?... POST param thru the form</h4>
<form name="form1" method="POST" action="form2.cgi?a=a&firstname=Mike"
target="popup" onsubmit="window.open('','popup','width=500,height=350')">
<fieldset>
<legend>Enter Fields Below</legend>
<table>
<tr>
<td><b>Enter First Name
<td><input type="text" name="firstname" />
<tr>
<td><b>Last Name
<td><input type="text" name="lastname" />
<tr>
<td><b>Enter Address
<td><textarea name="address"></textarea>
<tr>
<td><b>Choose a Brand
<td><select name="brand">
<option value=''>- choose from below -</option>
<option>Basking-Robbins</option>
<option>Ben & Jerry's</option>
<option>Carvel</option>
<option>Cold Stone</option>
<option>Haagen-Dazs</option>
<option>Hershey's</option>
</select>
<tr>
<td><b>Ice Cream Flavor
<td><select name="flavor" multiple="multiple">
<option>Vanilla</option>
<option>Chocolate</option>
<option>Strawberry</option>
<option>Butter Pecan</option>
<option>Rocky Road</option>
<option>French Vanilla</option>
<option>Pistachio</option>
</select>
<tr>
<td><b>Select Topping
<td>
<input type="checkbox" name="topping1" value="hotFudge" /> Hot Fudge
<input type="checkbox" name="topping2" value="sprinkles" /> Sprinkles
<input type="checkbox" name="topping3" value="nuts" /> Nuts
<input type="checkbox" name="topping4" value="whippedCream" /> Whipped Cream
<tr>
<td><b>Credit Card
<td>
<input type="radio" name="creditCard" value="MC" /> Master Card
<input type="radio" name="creditCard" value="VISA" /> Visa
<input type="radio" name="creditCard" value="AMEX" /> American Express
<input type="radio" name="creditCard" value="DISC" /> Discover
<tr>
<td colspan=2>
<input type="submit" value="Place Order" />
<input type="reset" value="Cancel" />
</table>
</fieldset>
</form>
</body>
</html>