/ Published in: HTML
A course registration form written in HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<html> <body> <img src="kclg.jpg" height = "100"> <link href="form.css" rel="stylesheet" type "text/css"> <script type="text/javascript"> prompt("What is your name?") </script> <form id = "math"action="mailto:[email protected]" method="post" enctype="text/plain"> <input type="hidden" name="email" id="email"value="[email protected]" /><!--Inputs a hidden box for the email address--> <fieldset id="name"> <label class="login"> <input type="text" id="user" name="user" /> </label> <label> <input type="text" id="pass" name="pass" /> </label> </fieldset> <input type="text" id="first" name="first" maxlength="15" /> </label> <input type="text" id="last" name="last" maxlength="15" /> <fieldset id="cont"> <input type="text" id="str" name="str" maxlength="20" /> </label> <input type="text" id="city" name="city" maxlength="10" /> </label> <input type="text" id="state" name="state" value = "NY" /> </label> <input type="text" id="zip" name="zip" maxlength="10" /> </fieldset> <select name="name" id="id"> </select> <select multiple = "multiple"> <optgroup label="Business"> </optgroup> <optgroup label="Science"> </optgroup> <label> <input type="checkbox" id="enga" name="enga" /> English Language </label> <label> <input type="checkbox" id="engb" name="engb" /> English Literature </label> <label> <input type="checkbox" id="mat" name="mat" /> Mathematics <input type="radio" name="sub" id="it" value="value1" /> <input type="radio" name="sub" id="art" value="value2" /> <input type="radio" name="sub" id="td" value="value3" /> <br> </fieldset> <input type="radio" name="sub" id="cis" value="value1" /> <input type="radio" name="sub" id="act" value="value2" /> <input type="radio" name="sub" id="cs" value="value2" /> <input type="radio" name="sub" id="cj" value="value2" /> </fieldset> <label> <input type="checkbox" id="cis22" name="cis22" /> CIS2200 </label> <input type="checkbox" id="cp11" name="cp11" /> CP1100 </label> <input type="checkbox" id="cp5" name="cp5" /> CP500 </label> <input type="checkbox" id="cis32" name="cis32" /> CIS3200 </label> </fieldset> <input type="reset" value="Reset" /> <br clear="all"> <img src="hmic.jpg" height = "30" width = "30" background = "grey"> Return to Home Page </button> <br clear="all"> </form>