Q7. What is the purpose of using the CELLPADDING and CELLSPACING attributes in a table?
Ans. The purpose of the CELLPADDING attribute is to specify the space between the edges of a cell and its content. On the other hand, the CELLSPACING attribute is used to specify the space between the borders of a cell.