<--Create a web page Registration Form using Html--!>
<html>
<body bgcolor=pink text=blue>
<center>
<table border=5>
<h1><u>Registration Form</u></h1>
<form action=reg>
<tr><th>first name:</th><td><input type=text name=fname><br><br></td></tr>
<tr><th>last name:</th><td><input type=text name=lname><br><br></td></tr>
<tr><th>Address:</th><td><textarea rows=3 columns=20> </textarea> <br><br></tr></td>
<tr><th>Gender:</th><td> <input type=radio name=gender value=male>male
<input type=radio name=gender value=female>female<br><br></tr></td>
<tr><th>Languages known:</th><td><input type=checkbox name=language value=English>English
<input type=checkbox name=language value=Hindi>Hindi
<input type=checkbox name=language value=Telugu>Telugu<br><br></td></tr>
<tr><th>country:</th><td>
<select name=reg>
<option value="india">india
</select><br><br></td></tr>
<tr><th>Hobbies:</th><td>
<select name=reg size=3 multiple>
<option value="Reading Books">Reading Books
<option value="Playing Chess">Playing Chess
<option value="Playing Cricket">Playing Cricket
<option value="Watching Movies">Watching Movies
<option value="Watching Cricket">Watching Cricket
</select><br><br></td></tr>
<tr><th>username</th><td> <input type=text name=uname><br><br></td></tr>
<tr><th>password</th><td> <input type=password name=pword><br><br></td></tr>
<tr><th><input type=submit> </th>
<td><input type=reset></td></tr>
</table>
</form>
</center>
</body>
</html>
No comments:
Post a Comment