-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathform.html
More file actions
95 lines (85 loc) · 3.21 KB
/
Copy pathform.html
File metadata and controls
95 lines (85 loc) · 3.21 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Form - Input Methods</title>
<link rel="stylesheet" href="form.css">
</head>
<body>
<h1>Simple Form</h1>
<form>
<!-- NAme Input -->
<div class="form-group">
<label for="fullname">Full Name:</label>
<input type="text" id="fullname" name="fullname" placeholder="Enter your full name">
</div>
<!-- Input email-->
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Enter your email">
</div>
<!--Input password -->
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Enter your password">
</div>
<!--Input age -->
<div class="form-group">
<label for="age">Age:</label>
<input type="number" id="age" name="age" placeholder="Enter your age" min="0" max="120">
</div>
<!-- enter country of origin -->
<div class="form-group">
<label for="country">Country:</label>
<select id="country" name="country">
<option value="">-- Select your country of origin --</option>
<option value="usa">Uganda</option>
<option value="canada">kenya</option>
<option value="uk">tanzania</option>
<option value="australia">Rwanda</option>
</select>
</div>
<!-- Radio Buttons -->
<div class="form-group">
<label>Gender:</label>
<div class="radio-group">
<label>
<input type="radio" name="gender" value="male"> Male
</label>
<label>
<input type="radio" name="gender" value="female"> Female
</label>
<label>
<input type="radio" name="gender" value="other"> Other
</label>
</div>
</div>
<!-- Checkboxes -->
<div class="form-group">
<label>Interests:</label>
<div class="checkbox-group">
<label>
<input type="checkbox" name="interests" value="sports"> Sports
</label>
<label>
<input type="checkbox" name="interests" value="music"> Music
</label>
<label>
<input type="checkbox" name="interests" value="reading"> Reading
</label>
<label>
<input type="checkbox" name="interests" value="travel"> Travel
</label>
</div>
</div>
<!-- enter comments-->
<div class="form-group">
<label for="comments">Comments:</label>
<textarea id="comments" name="comments" placeholder="Enter any additional comments here..."></textarea>
</div>
<!-- Submit Button -->
<button type="submit">Submit</button>
</form>
</body>
</html>