Form Inside Table












<!doctype html>

<html>

<head>

</head>

<body>

 <form name="myForm" action="" method="POST" autocomplete="off" enctype="multipart/form-data">

<table border="1" cellspacing="0">

<tr>

 <th  colspan="2">Fill the form below</th>

</tr>

<tr >

<td >Name:</td>

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

</tr>

<tr>

<td>Password:</td>

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

</tr>    

       <tr>

     <td> Feedback:</td>

<td><p><textarea : rows="4" cols="25" name="Feedback"></textarea> </p>

</td>

</tr>   

<tr>

<td>Gender:</td>

<td><input type="radio" name="gender" value="Male" checked>Male&nbsp;<input type="radio" name="gender" value="Female">Female</td>

</tr>

<tr>

<td>Subject:</td>

<td>

<input type="checkbox" name="subject1" value="Web">Web &nbsp;

<input type="checkbox" name="subject2" value="Math">Math

&nbsp;

<input type="checkbox" name="subject3" value="Graphics">Graphics

&nbsp;

<input type="checkbox" name="subject4" value="English">English

&nbsp;

</td>

</tr>

<tr>

<td></td>

<td align="center"><input type="submit" value="Reset All"> &nbsp;

<input type="submit" value="Submit All Details">

</td>

</tr>

</table>

</form>

</body>

</html>


Comments