-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathhascss_de.html
58 lines (52 loc) · 1.33 KB
/
hascss_de.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
<!doctype html>
<head>
<title>Diese Seite ist stilvoll</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Averia+Serif+Libre:300,400">
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<style>
em {
font-style: normal;
background-color: orange;
}
em {
background-color: pink;
}
div {
width: 600px;
padding: 20px;
margin: 50px auto;
background-color: limegreen;
}
p.intro {
margin: 0;
padding: 20px;
background-color: lightgrey;
font-size: 24px;
line-height: 1.3;
}
code {
color: darkgreen;
font-weight: bold;
}
</style>
</head>
<h1>Stilvoll!</h1>
<div>
<!--
Ein div ist ein Container, der Inhalte gruppiert.
div ist eine Kurzform von 'division' (Bereich).
-->
<p class="intro">
Diese Seite hat <strong>vier</strong> Stylesheets:
Standardformatierungen im <em>User-Agent-Stylesheet</em>,
zwei <em>externe Stylesheets</em> und
ein <em>eingebettetes Stylesheet</em>.
</p>
<p>
Das User-Agent-Stylesheet wird vom Browser hinzugefügt.
Ein externes Stylesheet wird mithilfe des <code><link></code>-Tags
angewandt. Ein eingebettetes Stylesheet ist eine Sammlung von Regeln
zwischen einem Paar von <code><style></code>-Tags.
</p>
</div>