-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms-lec.html
More file actions
42 lines (36 loc) · 1.36 KB
/
forms-lec.html
File metadata and controls
42 lines (36 loc) · 1.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Html Forms</title>
</head>
<body>
<form method="POST" action="https://request-inspector.glitch.me/">
<label for="username">Username</label>
<input id="username" name="username" type="text">
<br>
<label for="password">Password</label>
<input id="password" name="password" type="password">
<br>
<label for="email">Email address</label>
<input id="email" name="email" type="email">
<br>
<label for="pizzaTopping">Pick a Pizza Topping!</label>
<select name="pizzaTopping" id="pizzaTopping">
<option value="pepporoni">Pepporoni</option>
<option value="cheese">Cheese</option>
<option value="mushrooms">Mushrooms</option>
<option value="onions">Onions</option>
<option value="hamburger">Hamburger</option>
<option value="pineapple">Pineapple</option>
</select>
<h2>What kind of phone do you use?</h2>
<label for="android">Android <input id="android" type="checkbox" name="phones" value="android"></label>
<label for="ios">iOS <input id="ios" type="checkbox" name="phones" value="ios"></label>
<label for="windows">Windows <input id="windows" type="checkbox" name="phones" value="windows"></label>
<label for="other">Other <input id="other" type="checkbox" name="phones" value="other"></label>
<br>
<input type="submit" button ="submit">
</form>
</body>
</html>