-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
96 lines (95 loc) · 2.86 KB
/
form.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<title>REGISTRATION FORM</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div class = "main">
<div class = "register">
<h2>FORM</h2>
<form id = "register" method="post">
<label>First Name: </label>
<br>
<input type = "text" name = "fname" id = "name" placeholder = "Enter Your First Name">
<br><br>
<label>Last Name: </label>
<br>
<input type = "text" name = "lname" id = "name" placeholder = "Enter Your First Name">
<br><br>
<label>Age: </label>
<br>
<input type = "number" name = "age" id = "name" placeholder = "Enter Your Age" min="1" max="150">
<br><br>
<label>Email: </label>
<br>
<input type="email" name="email" id="name" placeholder="Enter Your Email ID">
<br><br>
<label>Date Of Birth: </label>
<br>
<input type="date" name="DOB" id="name" placeholder="Select Your DOB">
<br><br>
<label>Gender: </label>
<br>
<input type="radio" name="Gender" id="male">
<span id="male">Male</span>
<input type="radio" name="Gender" id="female">
<span id="female">Female</span>
<input type="radio" name="Gender" id="other">
<span id="other">Other</span>
<br><br>
<label>Languages You Know: </label>
<br>
<input type="checkbox" name="lang" id="english">
<span id="english">English</span>
<input type="checkbox" name="lang" id="hindi">
<span id="hindi">Hindi</span>
<input type="checkbox" name="lang" id="telugu">
<span id="telugu">Telugu</span>
<input type="checkbox" name="lang" id="tamil">
<span id="tamil">Tamil</span>
<input type="checkbox" name="lang" id="kannada">
<span id="kannada">Kannada</span>
<input type="checkbox" name="lang" id="othr">
<span id="othr">Other</span>
<br><br>
<label>Favourite Colour: </label>
<br>
<select name="favcolour" id="eyecolour">
<option value="select">Select</option>
<option value="green">Green</option>
<option value="red">Red</option>
<option value="blue">Blue</option>
<option value="purple">Purple</option>
<option value="black">Black</option>
<option value="white">White</option>
</select>
<br><br>
<label>What are your hobbies?</label>
<br>
<textarea id="hobbies" name="hobbies"></textarea>
<br><br>
<input type="submit" value="Submit" id="submit" name="submit">
</form>
</div>
</div>
</body>
</html>