-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
61 lines (60 loc) · 2.2 KB
/
form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
</head>
<body bgcolor="lightgreen">
<form action="" method="get" name="frm">
<h1 style="text-align: center;">Registration Form</h1>
<div style="text-align: center; width: 67px; margin-left: auto; margin-right: auto;"></div>
<table style="width: auto; margin-left: auto; margin-right: auto;">
<tbody style="text-align: left;">
<tr>
<td style="text-align: right;">Name :</td>
<td style="text-align: left;"><input name="name" type="text"></td>
</tr>
<tr>
<td style="text-align: right;">Email :</td>
<td style="text-align: left;"><input name="email" type="email"></td>
</tr>
<tr>
<td style="text-align: right;">Gender : </td>
<td style="text-align: left;"><input name="gender" value="male" type="radio">Male<input name="gender" value="female" type="radio">Female</td>
</tr>
<tr>
<td style="text-align: right;">Phone No : </td>
<td style="text-align: left;"><input name="phone" type="number"></td>
</tr>
<tr>
<td style="text-align: right;">Hobby : </td>
<td style="text-align: left;"><input name="hobby" value="sports" type="checkbox">Sports<input name="hobby" value="reading" type="checkbox">Reading</td>
</tr>
<tr>
<td style="text-align: right;">Address : </td>
<td style="text-align: left;"><textarea rows="5" cols="25" name="add"></textarea></td>
</tr>
<tr>
<td style="text-align: right;">City : </td>
<td style="text-align: left;">
<select name="city">
<option>Enter city</option>
<option>Surat</option>
<option>Vadodara</option>
<option>Ahmedabad</option>
</select>
</td>
</tr>
<tr>
<td> </td>
<a href=""></a><td style="text-align: left;"><input name="submit" value="submit" type="submit"></a>
<input name="reset" value="reset" type="reset">
</td>
</tr>
</tbody>
</table>
</form>
</body>
</html>