Welkom bij voorbeelden

voorbeeld cellpadding attribuut

<html>
<body>
<table
cellpadding="10" bgcolor="#c8b2f9" border="3">
<tr>
<th>
kop 1</th>
<th>
kop 2</th>
</tr>
<tr>
<td>
cel 1</td>
<td>
cel 2</td>
</tr>
<tr>
<td>
cel 3</td>
<td>
cel 4</td>
</tr>
</table>
</body>
</html>

cellpadding 10
cel 1 cel 2
cel 3 cel 4

cellpadding 5
cel 1, cel 1
cel 1, cel 1
cel 2
cel 3 cel 4

cellpadding 20
cel 1 cel 2
cel 3 cel 4