CSS Formatierung
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
{
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
: brown;
color:
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
;
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
: serif;
}
h1 {
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
: bold;
color:
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
;
}
h2, h3
{
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
:
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
;
}
ul {
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
: small;
}
li {
color:
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
;
}
img {
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
: solid 5px;
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
: right;
}
p {
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
: cursive;
}
Einbindung in die HTML-Datei
<
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
="
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
"
#000000
#0000ff
#005500
#ff0000
background-color
body
border
color
float
font-family
font-size
font-weight
href
link
rel
Stylesheet
="style.css">
Lösung überprüfen
OK