Przykład 1

<html>
<head>
<style type="text/css">
table {background-color:red; color:blue}
</style>
</head>
<body>

<!-- Wszystkie tabele na stronie będą miały -->
<!-- czerwony kolor tła i niebieski kolor tekstu. -->

<table border="1" cellspacing="3" cellpadding="7" align="center">
<tr>
  <td>1</td><td>2</td><td>3</td>
</tr>
</table>

</body>
</html>
123

Wstecz