-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfont-family.html
65 lines (47 loc) · 1.05 KB
/
font-family.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
### FONT FAMILY IN CSS ###
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Font Family</title>
<style>
h1 {
font-family:'Cinzel', serif;
}
#helvetica {
font-family: Helvetica, sans-serif;
}
#arial {
font-family: Arial, sans-serif;
}
#serif {
font-family: serif;
}
#sans-serif {
font-family: sans-serif;
}
#cursive {
font-family: cursive;
}
#monospace {
font-family: monospace;
}
#fantasy {
font-family: fantasy;
}
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cinzel&display=swap" rel="stylesheet">
</head>
<body>
<h1>Font Family</h1>
<p id="helvetica">Helvetica</p>
<p id="arial">Arial</p>
<p id="serif">Serif</p>
<p id="sans-serif">Sans Serif</p>
<p id="cursive">Cursive</p>
<p id="monospace">Monospace</p>
<p id="fantasy">Fantasy</p>
</body>
</html>