-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_first_form.html
99 lines (85 loc) · 2.77 KB
/
my_first_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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My First HTML Form</title>
</head>
<body>
<h2>User login</h2>
<form method="POST" action="http://requestb.in/17mxutr1">
<p>
<label for="username">Username</label>
<input id="username" name="username" type="text">
</p>
<p>
<label for="password">Password</label>
<input id="password" name="password" type="password">
</p>
<p>
<input type="submit">
</p>
</form>
<h2>Compose an Email</h2>
<form method="POST" action="http://requestb.in/17mxutr1">
<p>
<label for="to">To</label>
<input id="to" name="to" type="text">
</p>
<p>
<label for="from">From</label>
<input id="from" name="from" type="text">
</p>
<p>
<label for="subj">Subject</label>
<input id="subj" name="subject" type="text">
</p>
<p>
<textarea name="body" id="body" cols="30" rows="10"></textarea>
<br>
<label for="body">Body</label>
</p>
<p>
<label for="saveSent">Save a copy to sent folder?</label>
<input id="saveSent" type="checkbox" name="save[]" value="save">
</p>
<p>
<button>Send</button>
</p>
</form>
<h2>Mutliple choice test</h2>
<form action="http://requestb.in/17mxutr1">
<p>Where's Waldo?
<label for="q1">Here</label>
<input id="q1" type="radio" name="a1" value="1">
<label for="q2">There</label>
<input id="q2" type="radio" name="a1" value="2">
</p>
<p>Who are you?
<label for="a2">Me</label>
<input id="a2" type="checkbox" name="me" value="me">
<label for="a3">Myself</label>
<input id="a3" type="checkbox" name="me" value="myself">
<label for="a4">I</label>
<input id="a4" type="checkbox" name="me" value="I">
</p>
<label for="cotton">Where did you:</label>
<br>
<select name="cottonEye" id="cotton" multiple>
<option value="come">Come from?</option>
<option value="go">Go?</option>
<option value="joe">Come from Cotton Eye Joe?</option>
</select>
<br><br>
<button>Found him and/or myself!</button>
</form>
<h2>Select Testing</h2>
<form action="http://requestb.in/17mxutr1">
<label for="dropQ">Do you like ice cream</label>
<select name="iceCream?" id="dropQ">
<option selected value="yes">Oh hell yes</option>
<option value="no">No, I'm boring</option>
</select>
<button>Submit</button>
</form>
</body>
</html>