met CSS (dat dus staat voor cascading style sheets) kun je er voor zorgen dat de gegevens die in een webpagina staan een bepaalde opmaak krijgen, css defineer je in de head van je html code
probeer deze code maar eens in een nieuw bestand
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
| <html>
<head>
<title>Mijn eerste css testje</title>
<style type="text/css">
body {
background: Black;
}
p {
font-family:verdana;
font-size:10px;
}
.kleurtabel {
background:navy;
color: #FFFFFF;
font-size: 12px;
font-family: 'Arial black';
}
td { color: yellow; }
</style>
</head>
<body>
<p> blaat </p>
<table>
<tr>
<td class="kleurtabel">blaat
</td>
</tr>
<tr>
<td>hier staat tekst :)</td>
</tr>
</table>
</body>
</html> |
[
Voor 16% gewijzigd door
Helmet op 22-02-2003 18:29
. Reden: oops style niet gesloten ]