You are here: Home / Topics / What is Cell Spacing and Cell Padding?

What is Cell Spacing and Cell Padding?

Filed under: HTML Interview Questions on 2022-07-02 15:11:17

Cell Spacing is referred to space/gap between the two cells of the same table.
Cell Padding is referred to the gap/space between the content of the cell and cell wall or Cell border.

Example:

<table border cellspacing=3>

<table border cellpadding=3>

<table border cellspacing=3 cellpadding=3>

About Author:
K
Krishna Sharma     View Profile
Don't lose hope unless you get success.