Example Form
HTML source
<form action="http://www.utexas.edu/teamweb/cgi-bin/generic.cgi" method="post"><fieldset>
<legend>Personal Information</legend>
<label for="firstname">First name:
<input type="text" name="firstname" id="firstname" /></label><br />
<label for="lastname">Last name:
<input type="text" name="lastname" id="lastname" /></label><br />
<label for="email">email:
<input type="text" name="email" id="email" /></label><br />
<label for="Male"><input type="radio" name="sex" value="Male" id="Male" /> Male</label>
<br />
<label for="Female"><input type="radio" name="sex" value="Female" id="Female" /> Female</label><br />
</fieldset>
<fieldset>
<legend>Interests</legend>
<input type="checkbox" checked="checked" name="programming" value="yes" id="programming" />
<label for="programming">Programming</label><br />
<input type="checkbox" name="graphics" value="yes" id="graphics" />
<label for="graphics">Graphic Design</label><br />
<input type="checkbox" checked="checked" name="layout" value="yes" id="layout" />
<label for="layout">Page Layout</label><br />
<input type="checkbox" name="writing" value="yes" id="writing" />
<label for="writing">Technical Writing</label><br /><br />
<label for="Department-1">College: </label><br />
<select name="Department-1" id="Department-1">
<option>Architecture</option>
<option>Business</option>
<option>Communication </option>
<option>Education </option>
<option>Engineering </option>
</select>
</fieldset>
<div>
<input type="submit" value="Send" />
<input type="reset" />
</div>
</form>
