-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (39 loc) · 1.6 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Survey Form</title>
</head>
<body>
<h1 id="title">Survey Form</h1>
<p id="description">Please fill out the form below to help us improve our services.</p>
<form id="survey-form">
<label for="name" id="name-label">Name:</label>
<input type="text" id="name" placeholder="Enter your name" required>
<label for="email" id="email-label">Email:</label>
<input type="email" id="email" placeholder="Enter your email" required>
<label for="number" id="number-label">Number:</label>
<input type="number" id="number" placeholder="Enter a number" min="1" max="100" required>
<label for="dropdown">Select an option:</label>
<select id="dropdown">
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
</select>
<fieldset>
<legend>Choose an option:</legend>
<label><input type="radio" name="option" value="radio1"> Option 1</label>
<label><input type="radio" name="option" value="radio2"> Option 2</label>
</fieldset>
<fieldset>
<legend>Select multiple options:</legend>
<label><input type="checkbox" name="checkbox" value="checkbox1"> Option 1</label>
<label><input type="checkbox" name="checkbox" value="checkbox2"> Option 2</label>
</fieldset>
<label for="comments">Additional comments:</label>
<textarea id="comments" placeholder="Leave your comments here"></textarea>
<button type="submit" id="submit">Submit</button>
</form>
</body>
</html>