forked from debinzhang/debinzhang.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtesthtml.html
75 lines (53 loc) · 1.18 KB
/
testhtml.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
<!DOCTYPE html>
<html>
<head>
<link rel="preload" href="https://images-na.ssl-images-amazon.com/images/G/01/xba/DesktopBillboard_US_HomeDecor_Sept_2017_440x200._CB518445996_.jpg" as="image">
<link rel="preload" href="mint3.jpg" as="image">
<style>
@font-face {
font-family: debinFont1;
src: url(./webFont/SansationLight.woff);
}
@font-face {
font-family: debinFont2;
src: url(./webFont/SansationLight.ttf);
}
@font-face {
font-family: debinFont4;
src: url("http://fonts.ngeo.com/verlag/1-0-0/HCo_fonts.css");
}
.div1 {
font-family: debinFont1;
}
.div2 {
font-family: debinFont2;
}
.div4 {
font-family: debinFont4;
}
</style>
</head>
<body>
<div class="div1">
With CSS3, websites can finally use fonts other than the pre-selected "web-safe" fonts.
</div>
<p>
<img src= mint1.jpg>
</p>
<p>
<img src=mint2.jpg>
</p>
<div class="div2">
test 9.
</div>
<div class="div4">
font-family: debinFont4
</div>
<p><b>Note:</b> Internet Explorer 8 and earlier, do not support the @font-face rule.</p>
<!-- <meta http-equiv="refresh" content="0; URL='http://www.nytimes.com'" /> -->
<!-- <script>
window.location="http://www.yahoo.com";
</script>
-->
</body>
</html>