-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprac_que4.html
More file actions
31 lines (31 loc) · 1.06 KB
/
prac_que4.html
File metadata and controls
31 lines (31 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration form</title>
</head>
<body>
<form action="/server">
<div>
<h2>Registration form</h2>
<br>
<input type="text" placeholder="First Name" id="name" name="firstname">
<input type="text" placeholder="Last Name" id="name" name="lastname">
<br>
<label for="gender">Please select gender</label>
<select name="gender" id="gender">
<option value="m">Male</option>
<option value="f">female</option>
<option value="o">others</option>
</select>
<br>
<label for="terms">Do you agree to all terms of services?</label>
<input type="checkbox" id="terms" name="terms">
<label for="terms">Yes, I agree</label>
<br>
<button>Register</button>
</div>
</form>
</body>
</html>