-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
166 lines (136 loc) · 4.87 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<html>
<head>
<script src="temp function.js"></script>
<script src="file.css"></script>
</head>
<body>
<title>
directing to a new web Page
</title>
<p>
know manipulation worth
<input type="button" value="Click" onClick="woho()">
</p>
<p>
go forward
<input type="button" value="Click" onClick="history.forward();">
reload maaar bay website ko chal chal
<a href="#" onClick="window.location.reload(true);">Click</a>
<a href="#" onClick="window.location.assign('http://127.0.0.1:5500/anohter.html#guarantee');">Click</a>
</p>
<h1>
There are numbers click the link below:
<a href="#" onClick="alert('hey');">Click</a>
<input type="button" value="Click" onClick="sub(5,4)">
<p>
the numbers are 1,2,4,3,3,3,3
<img src="IMG_20191119_015008.jpg" onClick="greetTheUser();">
<img src="IMG_20191119_015008.jpg" onClick="alert('Hello world!');">
</p>
<p>
<h1 onMouseover="alert('Be sure to get your shopping done today.');">World Ends Tomorrow</h1>
</p>
</h1>
<h2>
<a href="index.html" onMouseover="this.style.color='green';">Home Page</a>
</h2>
<h3>
here hover mouse to image to see changes and hover out to see before picture
<img src="1-LJeVeJKqiZ6vlsHKgRdrkw.png" onMouseover="src='IMG_20191119_015008.jpg'" onmouseout="src='1-LJeVeJKqiZ6vlsHKgRdrkw.png'">
</h3>
<p>
Email:<br>
<input type="text" size="30" onFocus="this.style.backgroundColor='yellow';">
Email:<br>
<input type="Enter" size="40" onFocus="asking(country);">
</p>
<div>
<form onsubmit="checkAddress('email')">
<input type="text" id="email">
<input type="submit" value="submit">
</form>
</div>
Ahmed wrote first html <script>
function add(a,b) {
var sum=a+b;
alert(sum);
document.write(sum);
}
</script><a href="#" onClick="add(1,2);">Click</a><code></code>
<input type="button" value="Click" onClick="document.write('Hello world!');">
<div>
<img src="image-blog-sql-database.jpg" onMouseover="src='1-LJeVeJKqiZ6vlsHKgRdrkw.png'">
</div>
<script>
var parrr = document.getElementsByTagName("p");
var textInMiddleParagraph = parrr[1].innerHTML;
parrr[1].innerHTML = "This SUV is too big.";
for (var i = 0; i < parrr.length; i++) {
parrr[i].style.fontFamily = "Verdana, Geneva, sans-serif";
}
</script>
<p>This bed is too small.</p>
<p>This bed is too big.</p>
<p>This bed is just right.</p>
<p>
checkout zipcode here to know your postal city karhwan bhai
<form>
ZIP:<br>
<input type="text" id="zip" onBlur="checkout();"><br>
City:<br>
<input type="text" width="50" id="city">
</form>
<img src="IMG_20200722_172439 (1).jpg" onMouseover="src='1-LJeVeJKqiZ6vlsHKgRdrkw.png'">
<img src="1-LJeVeJKqiZ6vlsHKgRdrkw.png" id="p1" onClick="makebig();">
</p>
<script>
function sayHi() {
alert("Hello world!");
}
function sayBye() {
alert("Buh-bye!");
}
sayHi(); // calling funtion
sayBye(); // calling function
</script>
<div>
<input type="button" value="Press" onclick="window.open('function sayHi();', 'win1','width=420,height=380');">
<p>
submit a form with your cnic
<form onsubmit="return checkforlastnameanditscolor();">
please enter your last name.<br>
<input type="number" id="lastnamefield">
<input type="submit" value="Submit Form">
</form>
</p>
<h6>
select a state
<form onSubmit="return checkForSelection();">
<select id="states">
<option value="" selected="selected">
SELECT A STATE</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
</select>
<input type="submit" value="Submit Form">
</form>
</h6>
<p>
<form onsubmit="return checkbutton('r1');">
<input type="radio" name="r1" value="karachi"> karachi<br>
<input type="radio" name="r1" value="lahore"> Lahore<br>
<input type="radio" name="r1" value="islamabad"> islamabad<br>
<input type="submit" value="Submit Form">
</form>
</p>
<p> submit a form with your email
<form onsubmit="return checkemail();">
please enter your email.<br>
<input type="email" id="efield">
<input type="submit" value="Submit Form">
</form></p>
</div>
</body>
</html>