homeUnix & Internet  Prof. Dr. Uwe Schmidt FH Wedel

Die Datei: Tabelle6b.html


weiter
<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-&Uuml;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>

Letzte Änderung: 14.02.2012
© Prof. Dr. Uwe Schmidt
Prof. Dr. Uwe Schmidt FH Wedel