-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
74 lines (72 loc) · 2.55 KB
/
forms.html
File metadata and controls
74 lines (72 loc) · 2.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
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Register With Us</title>
<link rel="stylesheet" href="./css/forms.css"
</head>
<body>
<h1>Register With Us</h1>
<form method="POST" action="https://request-inspector.glitch.me/">
<fieldset>
<legend>Register Here</legend>
<label for="email">
<span>Email</span>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
</label>
<br>
<label for="password">
<span>Password</span>
<input type="password" id="password" name="password" placeholder="Enter your password" required>
</label>
</fieldset>
<br>
<label for="bio">
<span>Bio</span>
<br>
<textarea id="bio" name="bio" rows="15" cols="40"
placeholder="Please start from the day you were born and go from there until now..."
required></textarea>
</label>
<br>
<section>
<h2>How did you hear about us?</h2>
<label for="billboard">
<input type="checkbox" id="billboard" name="marketing_option" value="billboard">
<!-- What happens if the inputs are given different name attributes? They are treated as separate choice options grouped by their name -->
<span>Billboard</span>
</label>
<br>
<label for="radio_ad">
<input type="checkbox" id="radio_ad" name="marketing_option" value="radio_advertisement">
<span>Radio Advertisement</span>
</label>
<br>
<label for="internet_ad">
<input type="checkbox" id="internet_ad" name="marketing_option" value="internet_advertisement">
<span>Internet Advertisement</span>
</label>
<br>
<label for="other">
<input type="checkbox" id="other" name="marketing_option" value="other">
<span>Other</span>
</label>
</section>
<br>
<section>
<h2>Which web browser are you using?</h2>
<label> <!-- dropdown menu = select -->
<select name="web_browser" id="web_browser">
<option value="internet_explorer">Internet Explorer</option>
<option value="safari">Safari</option>
<option value="firefox">Firefox</option>
<option value="google_chrome">Google Chrome</option>
<option value="mozilla">Mozilla</option>
</select>
</label>
</section>
<br>
<button>Submit</button>
</form>
</body>
</html>