-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFormsExample2.html
More file actions
67 lines (62 loc) · 2.12 KB
/
FormsExample2.html
File metadata and controls
67 lines (62 loc) · 2.12 KB
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
62
63
64
65
66
67
<!--Many tags and attributes used here aren't supported in HTML5-->
<html>
<head>
<title>
USER FORM Sample
</title>
</head>
<body>
<form action="#" method="GET">
<table border="" cellspacing="0">
<caption>User Form</caption>
<tr>
<td>Enter Name</td>
<td><input type="text"></td>
</tr>
<tr>
<td>Enter Password</td>
<td><input type="password"> </td>
</tr>
<tr>
<td>Enter Address</td>
<td><input type="email"></td>
</tr>
<tr>
<td>Select Game</td>
<td>
<input type="checkbox" name="sport" value="hockey">Hockey<br>
<input type="checkbox" name="sport" value="Football">Football<br>
<input type="checkbox" name="sport" value="hockey">Badminton<br>
<input type="checkbox" name="sport" value="hockey">Cricket<br>
<input type="checkbox" name="sport" value="hockey">Volleyball
</td>
</tr>
<tr>
<td>Gender</td>
<td><input type="radio" value="male" name="gender" selected checked="checked">male
<input type="radio" value="male" name="gender">female
</td>
</tr>
<tr>
<td>Select your age</td>
<td>
<select name="age">
<option>select</option>
<option>16</option>
<option>17</option>
</select>
</td>
<tr>
<td align="center" colspan="2"><input type="file"></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="button" value="Click me!">
<input type="reset" value="Reset">
<input type="submit" value="Submit Form">
</td>
</tr>
</table>
</form>
</body>
</html>