<html>
<head>
<title>Tabellen-Beispiel 6b: Hintergrundfarben</title>
<style type="text/css">
body {
background-color: #ffffff;
}
table {
border: 0px solid grey;
cell-padding: 5px;
width: 50%;
}
th, td {
background-color: #bbbbbb;
}
</style>
</head>
<body>
<table>
<caption>Tabellen-Überschrift</caption>
<tr>
<th></th>
<th>Spalte 1</th>
<th>Spalte 2</th>
</tr>
<tr>
<th>Zeile 1</th>
<td>Zelle A</td>
<td>Zelle B</td>
</tr>
<tr>
<th>Zeile 2</th>
<td>Zelle C</td>
<td>Zelle D</td>
</tr>
</table>
</body>
</html>