-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
61 lines (58 loc) · 1.55 KB
/
forms.html
File metadata and controls
61 lines (58 loc) · 1.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forms</title>
</head>
<body>
<h2>This is forms in HTML.</h2>
<form action="backend.php">
<div>
Name: <input type="text">
</div>
<br>
<div>
Role: <input type="text">
</div>
<br>
<div>
Email: <input type="email" name="myEmail">
</div>
<br>
<div>
Date: <input type="date" name="" id="">
</div>
<br>
<div>
Bonus: <input type="number" name="" id="">
</div>
<br>
<label for="myEligibility">Are you eligible</label>
<div>
<input type="checkbox" name="" id="myEligibility">
</div>
<br>
<div>
Gender: Male <input type="radio" name="myGender" id=""> Female: <input type="radio" name="myGender" id="">
Other: <input type="radio" name="myGender" id="">
</div>
<br>
<div>
Write about yourself: <br><textarea name="" id="" cols="30" rows="10"></textarea>
</div>
<br>
<div>
<label for="car">Car</label>
<select name="mycar" id="car">
<option value="indica">Indica</option>
<option value="swift">Swift</option>
</select>
</div>
<br>
<div>
<input type="submit" value="Submit Now">
</div>
</form>
</body>
</html>