-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (43 loc) · 1.86 KB
/
index.html
File metadata and controls
50 lines (43 loc) · 1.86 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>HTML Forms</title>
</head>
<body>
<h1>HTML Forms</h1>
<form>
<label for="username">enter username:</label>
<input type="text" id="username" name="username" placeholder="enter your username"> <!-- for input text typing in, do input type to text, for multiple choice but only one choice do radio -->
<br><br>
<label for="email">enter email:</label>
<input type="email" id="email" name="email" placeholder="enter your email">
<br><br>
<label for="password">password: </label>
<input type="password" id="password" name="password" placeholder="enter your password">
<p>Select your age: </p>
<input type="radio" name="age" value="0-25" id="option-1">
<label for="option-1">0-25</label>
<input type="radio" name="age" value="26-50" id="option-2">
<label for="option-2">26-50</label>
<input type="radio" name="age" value="51-75" id="option-3">
<label for="option3">51-75</label>
<input type="radio" name="age" value="76-100" id="option-4">
<label for="option-4">76-100</label>
<input type="radio" name="age" value="100+" id="option-5">
<label for="option-5">100+</label>
<br><br>
<label for="question">Security question: </label>
<select name="question" id="question">
<option value="q1">What is your favourite color?</option>
<option value="q2">If you could be a vegetable, what would it be?</option>
<option value="q3">What is yoru favourite thing to do?</option>
</select>
<br><br>
<label for="">Security question answer: </label>
<input type="text" id="answer" name="answer">
<br><br>
<label for="bio">Your bio: </label><br>
<textarea name="bio" id="bio" cols="30" rows="10" placeholder="about you..."></textarea>
</form>
</body>
</html>