-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
50 lines (50 loc) · 1.64 KB
/
example.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example Form</title>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
</head>
<body>
<form action="#">
<div>
<label for="first_name">First name</label>
<input type="text" name="first_name" id="first_name">
</div>
<div>
<label for="last_name">Last name</label>
<input type="text" name="last_name" id="last_name">
</div>
<div>
<label for="data_of_birth_1">Date of birth</label>
<input type="text" name="data_of_birth_1" id="data_of_birth_1">
</div>
<div>
<label for="gender">Gender</label>
<select name="gender" id="gender">
<option>Please select</option>
<option value="m">Male</option>
<option value="f">Female</option>
</select>
</div>
<div>
<p>Born in the UK?</p>
<label for="uk_citizen_yes">
<input type="radio" name="uk_citizen" id="uk_citizen_yes" value="yes"> Yes
</label>
<label for="uk_citizen_no">
<input type="radio" name="uk_citizen" id="uk_citizen_no" value="no"> No
</label>
</div>
<div>
<p>Would you like to receive emails?</p>
<label for="email_comms">
<input type="checkbox" name="email_comms" id="email_comms" value="1"> Yes
</label>
</div>
</form>
</body>
</html>