-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (65 loc) · 2.15 KB
/
index.html
File metadata and controls
68 lines (65 loc) · 2.15 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!-- Build your First Form, students can deside on the theme.
Challenge 1: Use the text input to get the user name
Challenge 2: Use lable in appropriate places
Challenge 3: use different form input elements
Challenge 4: When the form is submitted, get the user's response and add the same to the body of the mail with your email id in the "to" section.
-->
<!-- your code goes below this comment -->
<!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>Document</title>
</head>
<body>
<form>
<h1>BIODATA FORM</h1>
<div>
<label for="name">Name:</label>
<input type="text" name="name" id="name" placeholder="Username">
</div><br>
<div>
<label for="email">Email:</label>
<input type="text" name="email" id="email" placeholder="Email">
</div><br>
<div>
<label for="password">Password:</label>
<input type="password" name="password" id="password" >
</div><br>
<div>
<label for="date of birth">Date of Birth:</label>
<input type="date" name="date" id="date">
</div><br>
<div>Gender:</div>
<div>
<input type="radio" name="gender" id="male" value="Male">Male
</div>
<div>
<input type="radio" name="gender" id="female" value="Female">Female
</div><br>
<div>
Favorite Subject
</div>
<div>
<select name="Favotite Subject" id="Subject">
<option value="Biology">Biology</option>
<option value="Computer Science">Computer Science</option>
<option value="physics">Physics</option>
<option value="chemistry">Chemistry</option>
<option value=""></option>
</select></div><br>
<div>
Extracurricular Activities
</div>
<div>
<input type="checkbox" name="ECA" value="Sports">Sports <br>
<input type="checkbox" name="ECA" value="Music">Music <br>
<input type="checkbox" name="ECA" value="Dance">Dance <br>
<input type="checkbox" name="ECA" value="Singing">Singing <br>
</div><br>
<button>Submit</button>
</form>
</body>
</html>