-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy_first_form.html
152 lines (134 loc) · 4.08 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<title>Myfirst HTML form</title>
<link rel="stylesheet" href="css/site.css">
</head>
<body>
<h2>User Login</h2>
<form class="form-horizontal">
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="inputEmail3" placeholder="Email">
</div>
</div>
<div class="form-group">
<label for="inputPassword3" class="col-sm-2 control-label">Password</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword3" placeholder="Password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Sign in</button>
</div>
</div>
</form>
<h2>Compose an Email</h2>
<form method="POST" action="http://requestb.in/yczpbuyd">
<p>
<label for="username">To:</label>
<input type="text" id="first_name" name="first_name" value="">
</p>
<p>
<label for="username">From:</label>
<input type="text" id="first_name" name="first_name" value="">
</p>
<p>
<label for="username">Subject:</label>
<input type="text" id="subject" name="subject" value="">
</p>
<p>
<textarea class="form-control" rows="3"></textarea>
</p>
<p>
<button type="submit">Send Email</button>
</p>
</form>
<p>
<input type="checkbox" id="save_email" name="save_email" value="yes" checked>
<label for="save_email">Save a copy of this email</label>
</p>
<h2>Multiple Choice Test</h2>
<p>What is the state bird of California?</p>
<p>
<label>
<input type="radio" name="q2" value="Cardinal">
Cardinal
</label>
</p>
<p>
<label>
<input type="radio" name="q2" value="Quail">
Quail
</label>
</p>
<p>
<label>
<input type="radio" name="q2" value="Dove">
Dove
</label>
</p>
<p>
<label>
<input type="radio" name="q2" value="Bald Eagle">
Bald Eagle
</label>
</p>
<button type="submit">Submit</button>
<p>
<form method="POST" action="http://requestb.in/z91lloz9">
<h2>What foods are not vegan?</h2>
<div class="checkbox">
<label>
<input type="checkbox" value="Eggs">Eggs</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" value="Avocado">Avocado</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" value="Honey">Honey</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" value="Oreos">Oreos</label>
</div>
<p>
<button type="submit">Submit</button>
</p>
</form>
<p>
<h2>Select Testing</h2>
<form method="POST" action="http://requestb.in/z91lloz9">
<label for="turtles">Do you like turtles? </label>
<select id="turtles" name="turtles">
<option value="1" selected>Yes</option>
<option value="2">No</option>
</select>
<p>
<button type="submit">Submit</button>
</p>
</form>
<script src="js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>