HTML (26)
Table Attribute
It gives space between two cells.
Cellpadding attribute
It gives space between cell border and cell content.
Example ↓↓↓↓
<html>
<head>
<title>My Page</title>
</head>
<body>
<table border="5"cellspacing="5" cellpading="10">
<tr>
<td align="center">Sample 1</td>
<td align="center">Sample 2 </td>
<td align="center">Sample 3</td>
</tr>
</table>
</body>
0 Comments