define cell padding and cell spacing with respect to tables in HTML. 2 mark
Answers
Answered by
7
Cellpadding is the amount of space between the outer edges of the tablecell and the content of the cell.Cellspacing is the amount of space in between the individual table cells.
Answered by
1
While cell padding places space around data, cell spacing places space around each cell
- Tables with insufficient cell or border spacing are challenging to read.
- The user can place the padding and/or spacing attributes within the <TABLE> code to add space to, or around, each cell or even both.
- Cell Padding
- It only bonds to single or individual cells
- It's default setting is one.
- One may simply manage the white space between a cell's border and its content by this method
- It is a very effective method.
- Cell Spacing
- It links up with several cells, not just one.
- In this situation, two is the default spacing value.
- One can adjust the distances among various cells using this method.
- Comparatively speaking, it is less efficient.
#SPJ2
Similar questions
English,
8 months ago
Social Sciences,
8 months ago
Geography,
8 months ago
Math,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago
Math,
1 year ago