The <table> Cellspacing attribute specifies the space between all cells. We declare the Cellspacing in pixels.
We denoted the pixel by the px only like -
20px,300px,40px.
The following example of Table in which cellspacing attribute is used.
<!DOCTYPE>
<html>
<head>
<title>HTML Table </title>
</head>
<body>
<table height="150" width="500" border="1"cellspacing="10px">
<tr>
<td>
Employee Name
</td>
<td>
Ramesh
</td> >
<td>
Vikash
</td> <td>
Sheema
</td> <td>
Suresh
</td>
</td> <td>
Reetu
</td>
</tr>
<tr>
<td>
Salary
</td>
<td>
10000
</td>
<td>
15000
</td> <td>
20000
</td> <td>
12000
</td>
<td>
25000
</td>
</tr>
</table>
</body>
</head>
</html>
Run