Tuesday, 31 January 2023

Registration form

<html>  

<body>

<form> 

<center>

<h2>Registration form</h2>

<table height="40%"     width="30%" border="1">

 

<tr>

<td>Enter your full name </td>

<td> <input type="text" name="name"></td>

</tr>

               

<tr>

<td>Enter your email</td>

<td><input type="email" name="email"></td>

</tr>   

 

<tr>

<td> Enter your Username  </td>

<td><input type="uname" name="uname"></td>

</tr>

             

<tr>

<td> Enter your password  </td>

<td><input type="password" name="pass"></td>

</tr>            

                       

<tr>

<td> Enter your gender </td>

<td>

<input type="radio" id="gender" name="gender" value="male"/>Male  

<input type="radio" id="gender" name="gender" value="female"/>Female   

<input type="radio" id="gender" name="gender" value="others"/>others 

 </td>

 </tr>                       

                       

<tr>

<td> Enter your Address </td>

<td><textarea></textarea></td>

</tr>            

 

 

<tr>

<td>Hobby:</td>

<td>             

    <input type="checkbox" name="cricket" value="cricket"/> Cricket <br> 

     <input type="checkbox" name="football" value="football"/> Football <br> 

      <input type="checkbox"  name="hockey" value="hockey"/> Hockey

</td>

 </tr>

                         

 <tr><td></td>

 <td><input type="submit" value="OK"> </td></tr>

 </table>

</center>

 </form> 

</body> 

</html>   input type="checkbox" name="football" value="football"/>Football <br> 

<input type="checkbox"  name="hockey" value="hockey"/> Hockey

</td>

 </tr>

                         

 <tr><td></td>

 <td><input type="submit" value="OK"> </td></tr>

</table>

</center>

</form> 

</body> 

</html>