cellspacing is an attribute of the <table> element that defines the spacing between table elements and the border
cellpadding is an attribute of the <table> element that defines the padding around a table element
It interacts with any styling applied to the table
These attributes are allowed in XHTML 1.0 but not in (X)HTML 5.0
The same effects can be achieved using box model properties and table properties