-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathtext.html
119 lines (102 loc) · 2.27 KB
/
text.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Text</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
font: 1.0em helvetica, arial, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.15em;
margin-bottom: .1em;
}
h1 {
font-size: 1.9em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.4em;
}
h4 {
font-size: 1.2em;
}
h5 {
font-size: 1em;
}
h6 {
font-size: .9em;
}
p {
font-size: .9em;
}
code {
font-size: 1.3em;
}
p,
ul,
blockquote {
line-height: 1.15em;
margin-bottom: .75em;
}
ul {
margin-left: 32px;
}
article {
width: 500px;
margin: 20px auto;
padding: 20px;
border: 2px solid #999;
}
</style>
</head>
<body>
<article>
<h1>CSS</h1>
<p>CSS stands for Cascading Style Sheets. CSS controls the presentational aspects of your Web pages.</p>
<h2>Block-Level Elements</h2>
<p>Block-level elements stack down the page. They include:</p>
<ul>
<li>
<code>header</code>
</li>
<li>
<code>section</code>
</li>
<li>
<code>h1, h2, etc.</code>
</li>
</ul>
<h2>Inline Elements</h2>
<p>Inline elements sit next to each other, if there is room. They include:</p>
<ul>
<li>
<code>img</code>
</li>
<li>
<code>a</code>
</li>
<li>
<code>em</code>
</li>
</ul>
<blockquote>
<q>Typography maketh the Web site.</q>
<cite>CWS</cite>
</blockquote>
</article>
</body>
</html>