-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclass24-HTML Form -Dropdown List-CipherSchools.html
35 lines (35 loc) · 1.54 KB
/
class24-HTML Form -Dropdown List-CipherSchools.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forms</title>
</head>
<body>
<h1>HTML forms</h1>
<form action="./welcome.html" method="get">
<label for="username">Usename: </label>
<input type="text" id="username" name="username" placeholder="Username" required><br><br>
<label for="password">Password: </label>
<input type="password" id="password" name="password" placeholder="Choose Strong Paswword" required><br><br>
<label for="email">email: </label>
<input type="email" id="email" name="email" placeholder="[email protected]" required><br><br>
<p>Select Your Gender</p>
<label for="male">Male</label>
<input type="radio" name="Gender" id="male" value="Male"><br><br>
<label for="Female">Female</label>
<input type="radio" name="Gender" id="Female" value="Female"><br><br>
<label for="Other">Other</label>
<input type="radio" name="Gender" id="Other" value="Other"><br><br>
<label for="age-group">Age Group</label>
<select name="age-group-values" id="age-group">
<option value="5-11">5-11</option>
<option value="11-21">11-21</option>
<option value="21-50">21-50</option>
<option value="50+">50+</option>
</select>
<br><br><input type="submit" value="Sign in">
</form>
</body>
</html>