The cellspacing attribute defines the width of the border, while cellpadding represents the distance between cell borders and the content within a cell.
Example:
<table border cellspacing=3>
<table border cellpadding=3>
<table border cellspacing=3 cellpadding=3>