To Create Registration Form Using Html
<html>
<head>
<title>WELCOME TO REGISTRATION PAGE</title>
</head>
<body>
<center>
<font size=8> Registration Form </font>
</center>
<form>
<table width=100% border=0>
<tr>
<th>Name:</th>
<td>
<input type="textfield" name="txt">
</td>
</tr>
<tr>
<th>Password:</th>
<td>
<input type="password" name="pas">
</td>
</tr>
<tr>
<th>Address:</th>
<td>
<textarea name="txtar" cols=20 rows=6>address</textarea>
</td>
</tr>
<tr>
<th>Email id:</th>
<td>
<input type="textfield" name="txt1">
</td>
</tr>
<tr>
<th>Phone number:</th>
<td>
<input type="textfield" name="txt2" maxlength=10>
</td>
</tr>
<tr>
<th>Sex:</th>
<td>
<input type="radio" name="rdbutton" value="val1">Male
<input type="radio" name="rdbutton" value="val2">Female
</td>
</tr>
<tr>
<th>Date of Birth:</th>
<td>
<select name="day">
<option value="1">1</option> <option value="2">2</option>
<option value="3">3</option> <option value="4">4</option>
<option value="5">5</option> <option value="6">6</option>
<option value="7">7</option> <option value="8">8</option>
<option value="9">9</option> <option value="10">10</option>
<option value="11">11</option> <option value="12">12</option>
<option value="13">13</option> <option value="14">14</option>
<option value="15">15</option> <option value="16">16</option>
<option value="17">17</option> <option value="18">18</option>
<option value="19">19</option> <option value="20">20</option>
<option value="21">21</option> <option value="22">22</option>
<option value="23">23</option> <option value="24">24</option>
<option value="25">25</option> <option value="26">26</option>
<option value="27">27</option> <option value="28">28</option>
<option value="29">29</option> <option value="30">30</option>
<option value="31">31</option>
</select>
<select name="month">
<option value="jan">Jan</option>
<option value="feb">Feb</option>
<option value="mar">Mar</option>
<option value="apr">Apr</option>
<option value="may">May</option>
<option value="jun">Jun</option>
<option value="jul">Jul</option>
<option value="aug">Aug</option>
<option value="sep">Sep</option>
<option value="oct">Oct</option>
<option value="nov">Nov</option>
<option value="dec">Dec</option>
</select>
<select name="year">
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value=2012>2012</option>
</select>
<tr>
<th>Languages known:</th>
<td>
<font size=4>
English : <input type="checkbox" name="c1" value="c1"><br>
Telugu : <input type="checkbox" name="c2" value="c2"><br>
Hindi : <input type="checkbox" name="c3" value="c3"><br>
Tamil : <input type="checkbox" name="c4" value="c4"><br>
</font>
</td>
</tr>
<tr>
<th>
<input type="submit" value="Submit">
</th>
<td>
<input type="reset" value="Reset"></td>
</tr>
</table>
</form>
</body>
</html>
OUTPUT:
<html>
<head>
<title>WELCOME TO REGISTRATION PAGE</title>
</head>
<body>
<center>
<font size=8> Registration Form </font>
</center>
<form>
<table width=100% border=0>
<tr>
<th>Name:</th>
<td>
<input type="textfield" name="txt">
</td>
</tr>
<tr>
<th>Password:</th>
<td>
<input type="password" name="pas">
</td>
</tr>
<tr>
<th>Address:</th>
<td>
<textarea name="txtar" cols=20 rows=6>address</textarea>
</td>
</tr>
<tr>
<th>Email id:</th>
<td>
<input type="textfield" name="txt1">
</td>
</tr>
<tr>
<th>Phone number:</th>
<td>
<input type="textfield" name="txt2" maxlength=10>
</td>
</tr>
<tr>
<th>Sex:</th>
<td>
<input type="radio" name="rdbutton" value="val1">Male
<input type="radio" name="rdbutton" value="val2">Female
</td>
</tr>
<tr>
<th>Date of Birth:</th>
<td>
<select name="day">
<option value="1">1</option> <option value="2">2</option>
<option value="3">3</option> <option value="4">4</option>
<option value="5">5</option> <option value="6">6</option>
<option value="7">7</option> <option value="8">8</option>
<option value="9">9</option> <option value="10">10</option>
<option value="11">11</option> <option value="12">12</option>
<option value="13">13</option> <option value="14">14</option>
<option value="15">15</option> <option value="16">16</option>
<option value="17">17</option> <option value="18">18</option>
<option value="19">19</option> <option value="20">20</option>
<option value="21">21</option> <option value="22">22</option>
<option value="23">23</option> <option value="24">24</option>
<option value="25">25</option> <option value="26">26</option>
<option value="27">27</option> <option value="28">28</option>
<option value="29">29</option> <option value="30">30</option>
<option value="31">31</option>
</select>
<select name="month">
<option value="jan">Jan</option>
<option value="feb">Feb</option>
<option value="mar">Mar</option>
<option value="apr">Apr</option>
<option value="may">May</option>
<option value="jun">Jun</option>
<option value="jul">Jul</option>
<option value="aug">Aug</option>
<option value="sep">Sep</option>
<option value="oct">Oct</option>
<option value="nov">Nov</option>
<option value="dec">Dec</option>
</select>
<select name="year">
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value=2012>2012</option>
</select>
<tr>
<th>Languages known:</th>
<td>
<font size=4>
English : <input type="checkbox" name="c1" value="c1"><br>
Telugu : <input type="checkbox" name="c2" value="c2"><br>
Hindi : <input type="checkbox" name="c3" value="c3"><br>
Tamil : <input type="checkbox" name="c4" value="c4"><br>
</font>
</td>
</tr>
<tr>
<th>
<input type="submit" value="Submit">
</th>
<td>
<input type="reset" value="Reset"></td>
</tr>
</table>
</form>
</body>
</html>
OUTPUT:
No comments:
Post a Comment