Recent

6/recent/ticker-posts

HTML (26)

HTML (26)

Commentary: You'll Be Using Quantum Computers Soon | Fortune

Table Attribute

Cellspacing 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>
</html>


Post a Comment

0 Comments