Creating html Form

<html>
<head>

</head>
<body>
<center>
<form>
<table border="1">
<tr>
<td><lable>First Name: </lable></td>
<td><input type ="text" pattern="[a-zA-Z]*" required="required" placeholder="enter name"></td>
</tr>
<tr>
<td><lable>Last Name: </lable></td>
<td><input type ="text" placeholder="enter name" required="required"></td>
</tr>
<tr>
<td><lable>Address: </lable></td>
<td><textarea rows="5" cols="30" required="required">
</textarea></td>
</tr>
<tr>
<td><lable>Marital status: </lable></td>
<td>
<input type ="radio" name="gender" value="Married">Married
<input type ="radio" name="gender" value="UnMarried">UnMarried
</td>
</tr>
<tr>
<td><lable>Skill: </lable></td>
<td>
<input type ="checkbox" name="skil" value="Singing" checked>Singing
<input type ="checkbox" name="skil" value="Dancing">Dancing
<input type ="checkbox" name="skil" value="Drawing">Drawing
</td>
</tr>
<tr>
<td><lable>Profession: </lable></td>
<td>
<select required>
<option value="">Select here</option>
<option>ASE</option>
<option>SEO</option>
<option>Team Head</option>
</select>
</td>
</tr>
<tr>
<td><lable>Hidden Field: </lable></td>
<td><input type ="hidden"></td>
</tr>
<tr>
<td><lable>Upload Your Photo: </lable></td>
<td><input type ="file" required></td>
</tr>
<tr>
<td><input type="reset"></td>
<td><input type="submit"></td>
</tr>
</table>
</form>
</center>
</body>
</html>

Comments