-
Notifications
You must be signed in to change notification settings - Fork 0
/
form1.html
274 lines (274 loc) · 11.6 KB
/
form1.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE html>
<html>
<head>
<title> My Web Page!</title>
</head>
<body>
<form>
<div>
<!-- input: a tag to say this is where you will be inputting information -->
<!-- name: naming particular elements of our form makes it easier to refer to later -->
<!-- type: this attribute indicates the type of <input> element to displaygit -->
<!-- placeholder: this is the greyed out text before the field is full -->
<input name="name" type="text" placeholder="Name">
<!--type="password" : this shows that its going to be sensative information and shows it as dots -->
<input name="password" type="password" placeholder="Password">
</div>
<div>
Favorite color?
<!-- type="radio" : this is going to show up as multiple choice -->
<input name="color" type="radio" value="red"> Red
<input name="color" type="radio" value="green"> Green
<input name="color" type="radio" value="blue"> Blue
<input name="color" type="radio" value="other"> Other
</div>
<div>
<!-- List: Specifies the id of a <datalist> element which provides a
list of autocomplete suggestions for the input field. -->
<!-- datalist: this is used to provide an autocomplete feature on form element.
It provides a list of user defined options to the user to select -->
<input name="country" list="countries" placeholder="Country">
<datalist id="countries">
<option value="Afghanistan" />
<option value="Albania" />
<option value="Algeria" />
<option value="American Samoa" />
<option value="Andorra" />
<option value="Angola" />
<option value="Anguilla" />
<option value="Antarctica" />
<option value="Antigua and Barbuda" />
<option value="Argentina" />
<option value="Armenia" />
<option value="Aruba" />
<option value="Australia" />
<option value="Austria" />
<option value="Azerbaijan" />
<option value="Bahamas" />
<option value="Bahrain" />
<option value="Bangladesh" />
<option value="Barbados" />
<option value="Belarus" />
<option value="Belgium" />
<option value="Belize" />
<option value="Benin" />
<option value="Bermuda" />
<option value="Bhutan" />
<option value="Bolivia" />
<option value="Bosnia and Herzegovina" />
<option value="Botswana" />
<option value="Bouvet Island" />
<option value="Brazil" />
<option value="British Indian Ocean Territory" />
<option value="Brunei Darussalam" />
<option value="Bulgaria" />
<option value="Burkina Faso" />
<option value="Burundi" />
<option value="Cambodia" />
<option value="Cameroon" />
<option value="Canada" />
<option value="Cape Verde" />
<option value="Cayman Islands" />
<option value="Central African Republic" />
<option value="Chad" />
<option value="Chile" />
<option value="China" />
<option value="Christmas Island" />
<option value="Cocos (Keeling) Islands" />
<option value="Colombia" />
<option value="Comoros" />
<option value="Congo" />
<option value="Congo, The Democratic Republic of The" />
<option value="Cook Islands" />
<option value="Costa Rica" />
<option value="Cote D'ivoire" />
<option value="Croatia" />
<option value="Cuba" />
<option value="Cyprus" />
<option value="Czech Republic" />
<option value="Denmark" />
<option value="Djibouti" />
<option value="Dominica" />
<option value="Dominican Republic" />
<option value="Ecuador" />
<option value="Egypt" />
<option value="El Salvador" />
<option value="Equatorial Guinea" />
<option value="Eritrea" />
<option value="Estonia" />
<option value="Ethiopia" />
<option value="Falkland Islands (Malvinas)" />
<option value="Faroe Islands" />
<option value="Fiji" />
<option value="Finland" />
<option value="France" />
<option value="French Guiana" />
<option value="French Polynesia" />
<option value="French Southern Territories" />
<option value="Gabon" />
<option value="Gambia" />
<option value="Georgia" />
<option value="Germany" />
<option value="Ghana" />
<option value="Gibraltar" />
<option value="Greece" />
<option value="Greenland" />
<option value="Grenada" />
<option value="Guadeloupe" />
<option value="Guam" />
<option value="Guatemala" />
<option value="Guinea" />
<option value="Guinea-bissau" />
<option value="Guyana" />
<option value="Haiti" />
<option value="Heard Island and Mcdonald Islands" />
<option value="Holy See (Vatican City State)" />
<option value="Honduras" />
<option value="Hong Kong" />
<option value="Hungary" />
<option value="Iceland" />
<option value="India" />
<option value="Indonesia" />
<option value="Iran, Islamic Republic of" />
<option value="Iraq" />
<option value="Ireland" />
<option value="Israel" />
<option value="Italy" />
<option value="Jamaica" />
<option value="Japan" />
<option value="Jordan" />
<option value="Kazakhstan" />
<option value="Kenya" />
<option value="Kiribati" />
<option value="Korea, Democratic People's Republic of" />
<option value="Korea, Republic of" />
<option value="Kuwait" />
<option value="Kyrgyzstan" />
<option value="Lao People's Democratic Republic" />
<option value="Latvia" />
<option value="Lebanon" />
<option value="Lesotho" />
<option value="Liberia" />
<option value="Libyan Arab Jamahiriya" />
<option value="Liechtenstein" />
<option value="Lithuania" />
<option value="Luxembourg" />
<option value="Macao" />
<option value="Macedonia, The Former Yugoslav Republic of" />
<option value="Madagascar" />
<option value="Malawi" />
<option value="Malaysia" />
<option value="Maldives" />
<option value="Mali" />
<option value="Malta" />
<option value="Marshall Islands" />
<option value="Martinique" />
<option value="Mauritania" />
<option value="Mauritius" />
<option value="Mayotte" />
<option value="Mexico" />
<option value="Micronesia, Federated States of" />
<option value="Moldova, Republic of" />
<option value="Monaco" />
<option value="Mongolia" />
<option value="Montserrat" />
<option value="Morocco" />
<option value="Mozambique" />
<option value="Myanmar" />
<option value="Namibia" />
<option value="Nauru" />
<option value="Nepal" />
<option value="Netherlands" />
<option value="Netherlands Antilles" />
<option value="New Caledonia" />
<option value="New Zealand" />
<option value="Nicaragua" />
<option value="Niger" />
<option value="Nigeria" />
<option value="Niue" />
<option value="Norfolk Island" />
<option value="Northern Mariana Islands" />
<option value="Norway" />
<option value="Oman" />
<option value="Pakistan" />
<option value="Palau" />
<option value="Palestinian Territory, Occupied" />
<option value="Panama" />
<option value="Papua New Guinea" />
<option value="Paraguay" />
<option value="Peru" />
<option value="Philippines" />
<option value="Pitcairn" />
<option value="Poland" />
<option value="Portugal" />
<option value="Puerto Rico" />
<option value="Qatar" />
<option value="Reunion" />
<option value="Romania" />
<option value="Russian Federation" />
<option value="Rwanda" />
<option value="Saint Helena" />
<option value="Saint Kitts and Nevis" />
<option value="Saint Lucia" />
<option value="Saint Pierre and Miquelon" />
<option value="Saint Vincent and The Grenadines" />
<option value="Samoa" />
<option value="San Marino" />
<option value="Sao Tome and Principe" />
<option value="Saudi Arabia" />
<option value="Senegal" />
<option value="Serbia and Montenegro" />
<option value="Seychelles" />
<option value="Sierra Leone" />
<option value="Singapore" />
<option value="Slovakia" />
<option value="Slovenia" />
<option value="Solomon Islands" />
<option value="Somalia" />
<option value="South Africa" />
<option value="South Georgia and The South Sandwich Islands" />
<option value="Spain" />
<option value="Sri Lanka" />
<option value="Sudan" />
<option value="Suriname" />
<option value="Svalbard and Jan Mayen" />
<option value="Swaziland" />
<option value="Sweden" />
<option value="Switzerland" />
<option value="Syrian Arab Republic" />
<option value="Taiwan, Province of China" />
<option value="Tajikistan" />
<option value="Tanzania, United Republic of" />
<option value="Thailand" />
<option value="Timor-leste" />
<option value="Togo" />
<option value="Tokelau" />
<option value="Tonga" />
<option value="Trinidad and Tobago" />
<option value="Tunisia" />
<option value="Turkey" />
<option value="Turkmenistan" />
<option value="Turks and Caicos Islands" />
<option value="Tuvalu" />
<option value="Uganda" />
<option value="Ukraine" />
<option value="United Arab Emirates" />
<option value="United Kingdom" />
<option value="United States" />
<option value="United States Minor Outlying Islands" />
<option value="Uruguay" />
<option value="Uzbekistan" />
<option value="Vanuatu" />
<option value="Venezuela" />
<option value="Viet Nam" />
<option value="Virgin Islands, British" />
<option value="Virgin Islands, U.S" />
<option value="Wallis and Futuna" />
<option value="Western Sahara" />
<option value="Yemen" />
<option value="Zambia" />
<option value="Zimbabwe" />
</datalist>
</div>
</body>
</html>