-
Notifications
You must be signed in to change notification settings - Fork 0
/
myForm.html
100 lines (88 loc) · 3.8 KB
/
myForm.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
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
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
</head>
<body>
<h3>Black Goose Bistro | Pizza-on-Demand
Our 12" wood-fired pizzas are available for delivery. Build your custom pizza and we'll deliver it within an
hour.</h3>
<form action="http://www.blackgoosebistro.com/pizza.php" method="post">
<fieldset>
<legend>Your Information</legend>
<ul>
<li><label for="form-name">Name:</label> <input type="text" name="customername" id="form-name"></li>
<li><label for="form-address">Address:</label> <input type="text" name="address" id="form-address"></li>
<li><label for="form-tel">Telephone Number:</label> <input type="tel" name="telephone" id="form-tel">
</li>
<li><label for="form-email">Email: <input type="email" name="email" id="form-email"></label></li>
<li>Delivery instructions:<br>
<textarea name="instructions" rows="4" cols="60" maxlength="400" id="form-story"
placeholder="No more than 400 characters long"></textarea>
</li>
</ul>
</fieldset>
<h2>Design your dream pizza:</h2>
<fieldset>
<legend>Pizza specs
</legend>
<fieldset>
<legend>Crust <em>(Choose one)</em>:</legend>
<ul>
<li><label><input type="radio" name="crust" value="white">
Classic white
</label></li>
<li><input type="radio" name="crust" value="multigrain">
Multigrain</li>
<li><input type="radio" name="crust" value="cheese crust">
Cheese-stuffed crust
</li>
<li><input type="radio" name="crust" value="gluten free">
Gluten-free
</li>
</ul>
</fieldset>
<fieldset>
<legend>Toppings <em>(Choose as many as you want)</em></legend>
<ul>
<li><input type="checkbox" name="toppings[]" value="red sauce" checked>
Red sauce</li>
<li><input type="checkbox" name="toppings[]" value="white sauce">
White sauce
</li>
<li><input type="checkbox" name="toppings[]" value="mozzarella">
Mozzarella Cheese
</li>
<li><input type="checkbox" name="toppings[]" value="pepperoni">
Pepperoni</li>
<li><input type="checkbox" name="toppings[]" value="mushrooms">
Mushrooms</li>
<li><input type="checkbox" name="toppings[]" value="peppers">
Peppers
</li>
<li><input type="checkbox" name="toppings[]" value="anchovies">
Anchovies</li>
</ul>
</fieldset>
<fieldset>
<legend>Number</legend>
<p>How many pizzas:
<select name="pizzas" size="1">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
</select>
</p>
</fieldset>
</fieldset>
<p><input type="submit" value="Bring me a pizza!">
<input type="reset">
</p>
</form>
</body>
</html>