forked from kkkombo/HTML-CSS-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms-set-up-basic-form.html
More file actions
75 lines (75 loc) · 3.86 KB
/
Copy pathforms-set-up-basic-form.html
File metadata and controls
75 lines (75 loc) · 3.86 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
<!DOCTYPE html>
<html>
<head>
<title>Input Types</title>
<meta name="author" value="Alexandra Dedok" />
<meta name="description" value="Learning HTML/CSS for fun and games and websites" />
<meta name="keywords" content="HTML, CSS" />
</head>
<body>
<form name="select_GET" method="GET" action="process.php">
<h1>Basic Form with drop-down menu with GET:</h1>
<div>
<label for="drop_down_movie">Your next movie to see is </label>
<select name="drop_down_movie">
<option value="" selected disabled> -Choose a moive- </option>
<option value="Star Wars 4">Star Wars 4</option>
<option value="Star Wars 5">Star Wars 5</option>
<option value="Star Wars 6">Star Wars 6</option>
<option value="Lord of the Rings">LoTR</option>
<option value="Harry Potter">Harry Potter</option>
<option value="Toy story 4">Toy story 4</option>
</select>
<input type="submit" name="submit" value="Submit" />
</div>
</form>
<form name="select_GET" method="GET" action="process.php">
<h1>Basic Form with drop-down menu with GET:</h1>
<div>
<label for="drop_down_movie">Your next movie to see is </label>
<select name="drop_down_movie" multiple>
<option value="" selected disabled> -Choose a moive- </option>
<option value="Star Wars 4">Star Wars 4</option>
<option value="Star Wars 5">Star Wars 5</option>
<option value="Star Wars 6">Star Wars 6</option>
<option value="Lord of the Rings">LoTR</option>
<option value="Harry Potter">Harry Potter</option>
<option value="Toy story 4">Toy story 4</option>
</select>
<input type="submit" name="submit" value="Submit" />
</div>
</form>
<form name="select_POST" method="POST" action="process.php">
<h1>Basic Form with drop-down menu with POST:</h1>
<div>
<label for="drop_down_movie">Your next movie to see is </label>
<select name="drop_down_movie">
<option value="" selected disabled> -Choose a moive- </option>
<option value="Star Wars 4">Star Wars 4</option>
<option value="Star Wars 5">Star Wars 5</option>
<option value="Star Wars 6">Star Wars 6</option>
<option value="Lord of the Rings">LoTR</option>
<option value="Harry Potter">Harry Potter</option>
<option value="Toy story 4">Toy story 4</option>
</select>
<input type="submit" name="submit" value="Submit" />
</div>
</form>
<form name="select_POST" method="POST" action="process.php">
<h1>Basic Form with drop-down menu with POST:</h1>
<div>
<label for="drop_down_movie">Your next movie to see is </label>
<select name="drop_down_movie" multiple>
<option value="" selected disabled> -Choose a moive- </option>
<option value="Star Wars 4">Star Wars 4</option>
<option value="Star Wars 5">Star Wars 5</option>
<option value="Star Wars 6">Star Wars 6</option>
<option value="Lord of the Rings">LoTR</option>
<option value="Harry Potter">Harry Potter</option>
<option value="Toy story 4">Toy story 4</option>
</select>
<input type="submit" name="submit" value="Submit" />
</div>
</form>
</body>
</html>