-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha133.html
70 lines (65 loc) · 2.09 KB
/
a133.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
62
63
64
65
66
67
68
69
70
<!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>Document</title>
<style>
input:required {
box-shadow: 2px 2px 5px red;
color: red;
}
</style>
</head>
<body>
<form action="a21.html">
<table border="1" align="center" width="50%">
<tr>
<th>User Name</th>
<td>
<input type="text" name="uname" required value="mohan">
</td>
</tr>
<tr>
<th>Email</th>
<td>
<input type="email" name="uemail" required>
</td>
</tr>
<tr>
<th>Food</th>
<td>
Samosa: <input type="checkbox" name="food" value="samo">
Kachodi: <input type="checkbox" name="food" value="katcho">
Jalebi: <input type="checkbox" name="food" value="jebi">
</td>
</tr>
<tr>
<th>Gender</th>
<td>
Male: <input type="radio" name="gender" value="m">
Female: <input type="radio" name="gender" value="f">
</td>
</tr>
<tr>
<th>City</th>
<td>
<select name="city">
<option value="0">Select City</option>
<option value="1">Jabalpur</option>
<option value="2">Jaipur</option>
<option value="3">Jagdalpur</option>
<option value="4">Bhopal</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Save">
</td>
</tr>
</table>
</form>
</body>
</html>