Computer Science, asked by information1, 1 year ago

define cell padding and cell spacing with respect to tables in HTML. 2 mark

Answers

Answered by adarshch9188
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 GulabLachman
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
  1. It only bonds to single or individual cells
  2. It's default setting is one.
  3. One may simply manage the white space between a cell's border and its content by this method
  4. It is a very effective method.
  • Cell Spacing
  1. It links up with several cells, not just one.
  2. In this situation, two is the default spacing value.
  3. One can adjust the distances among various cells using this method.
  4. Comparatively speaking, it is less efficient.

#SPJ2

Similar questions