Define cell spacing and cellpadding in HTML

Q5. Define cell spacing and cellpadding  in HTML.
Ans.
In HTML, the term cell spacing refers to the amount of space in pixels between the borders of cell. We can specify cell spacing with the help of the CELL SPACING attribute of the <TABLE> tag. On the other hand, cellpadding refers to the amount of space in pixels between the edges of a cell and its content. We can specify cell padding by using the CELL PADDING attribute of the <TABLE> tag.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: