-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjs14.html
More file actions
43 lines (36 loc) · 918 Bytes
/
js14.html
File metadata and controls
43 lines (36 loc) · 918 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JS'ye Giriş 14</title>
<style type="text/css">
.yazi1 {
font: bold 12px tahoma;
color: #f00;
}
.yazi2 {
font: bold 18px tahoma;
color: #00f;
}
.yazi3 {
font: bold 24px tahoma;
color: #0f0;
}
.yazi4 {
font: bold 30px tahoma;
color: #38a;
}
</style>
</head>
<body>
<script type="text/javascript">
for (var i = 1; i <= 4; i++) {
document.write("<span class='yazi", i, "'> Javascript </span> <br>");
}
for (var i = 4; i >= 1; i--) {
document.write("<span class='yazi", i, "'> Jacascript </span> <br>")
}
</script>
</body>
</html>