-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
54 lines (54 loc) · 2.53 KB
/
form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A Form</title>
</head>
<body>
<h1>Complete the form!</h1>
<form>
<div>
<label for="first"><strong>First Name</strong></label>
<input id="first" type="text" name="first" value="" placeholder="Your First Name">
</div>
<div>
<label for="last"><strong>Last Name</strong></label>
<input id="last" type="text" name="last" value="" placeholder="Your Last Name">
</div>
<div>
<label for="animal"><strong>Favorite Animal</strong></label>
<input id="animal" type="text" name="animal" value="" placeholder="Your favorite animal" spellcheck="true">
</div>
<div>
<label for="status"><strong>Animal Status</strong></label>
<input id="status" type="radio" name="animalStatus" value="Exists" checked> Exists
<input id="status" type="radio" name="animalStatus" value="Extinct"> Extinct
<input id="status" type="radio" name="animalStatus" value="Make-believe"> Make-believe
<input id="status" type="radio" name="animalStatus" value="IsAVegetable"> Is a Vegetable
</div>
<div>
<label for="diet"><strong>Diet</strong></label>
<input id="diet" type="checkbox" name="food1" value="Meat"> Meat
<input id="diet" type="checkbox" name="food2" value="Plants"> Plants
<input id="diet" type="checkbox" name="food3" value="Other??"> Other??
</div>
<div>
<label for="superpower"><strong>Preferred Superpower</strong></label>
</div>
<div>
<select name="superpower" multiple>
<option id="superpower" value="flying">Flight</option>
<option id="superpower" value="teleporting" selected>Teleportation</option>
<option id="superpower" value="invisibility">Invisibility</option>
<option id="superpower" value="telekinesis">Telekinesis</option>
</select>
</div>
<button type="Submit">Submit</button>
<div>
<a href="index.html">Main Page</a>
</div>
<footer><em>Copyright cjtaberskiproductions</em></footer>
</form>
</body>
</html>