form1.html 1.14 KB
Newer Older
nishanth's avatar
nishanth committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
<html>
<head>
<title>Form</title>


<body>	
<div style="background-color:lightblue" align="center">
<h1 style="text-align: center"> REGISTRATION FORM </h1>	 
<form name="RegForm" method="post"  action="index.html" onsubmit="return formValidation()" > 

	
	<p>Name: <input type="text" name="name"> </p><br>
<p>Date of Birth: <input type="date" name="dob"> </p><br>
<p>age:<input type="number" name="age"></p><br>	 
<p>Hallticket number: <input type="text" name="hallticket no"> </p><br>
	<p> Address: <input type="text" name="Address"> </p><br>
	<p>E-mail Address: <input type="email"  name="EMail"> </p><br>
	<p>Password: <input type="password"  name="Password"> </p><br>
	<p>Telephone: <input type="text"  name="Telephone"> </p><br> 
		
	<p>SELECT YOUR COURSE 
		<select type="text" value="" name="Subject">
			<option>BTECH</option>
			<option>BBA</option>
			<option>BCA</option>
			<option>B.COM</option>
		</select></p><br><br>
	<p>About you: <textarea rows="5" cols="100" name="Comment"> </textarea></p>
	<p><input type="submit" value="submit" name="Submit">	 
		<input type="reset" value="Reset" name="Reset"> 
	</p>		 
</form>
</div>
</body>					
</html>