-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (86 loc) · 2.15 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
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
97
98
<!doctype html>
<html>
<head>
<title>fullstack development</title>
<script type="text/javascript">
function head1()
{
document.getElementById("p1").style.color="blue";
}
</script>
</head>
<body>
<h1>THIS IS MY FIRST FORM </h1>
<form>
<label>NAME</label>
<input type="text" name="name" >
<br>
<label>USERNAME</label>
<input type="text" name="username">
<br>
<label>PASSWORD</label>
<input type="password" name="pass" >
<br>
<label>MOBILE NUMBER</label>
<input type="number" name="no" maxlength="10">
<br>
<label> EMAIL ID</label>
<input type="email" name="mail">
<br>
<label>GENDER</label>
<br>
<input type="radio" name="gender">
<label>male</label>
<br>
<input type="radio" name="gender">
<label>female</label>
<br>
<input type="radio" name="gender">
<label>others</label>
<br>
<label>DATE OF BIRTH</label>
<input type="date" name="dob">
<br>
<input type="checkbox" name="checkbox1">
<label>java</label>
<br>
<input type="checkbox" name="checkbox2">
<label>python</label>
<br>
<input type="checkbox" name="checkbox3">
<label>c++</label>
<br>
<input type="checkbox" name="checkbox4">
<label>c</label>
<br>
<input type="checkbox" name="checkbox5">
<label>java script</label>
<br>
<label>CITY</label>
<select >
<option>SELECT</option>
<option value="DELHI">DELHI</option>
<option value="PUNE">PUNE</option>
<option value="PAGHWARA">PAGHWARA</option>
<option value="KANPUR">KANPUR</option>
<option value="LUCKNOW">LUCKNOW</option>
<option value="BANGALORE">BANGALORE</option>
<option value="HYDERABAD">HYDERABAD</option>
<option value="NOIDA">NOIDA</option>
<option value="BHOPAL">BHOPAL</option>
<option value="INDORE">INDORE</option>
<option value="LUDHIANA">PAGHWARA</option>
<option value="AGRA">KANPUR</option>
</select>
<br>
<input type="checkbox" name="checkbox5" required>
<label>I AGREE ALL THE TERMS AND CONDITIONS</label>
<br>
<input type="reset" name="reset">
<br>
<input type="submit" name="submit">
<p>java script </p>
<p id="p1"> This paragraph color will change on clicking the button</p>
<button type=" button" onclick=" head1()" >change color</button>
</body>
</html>