Which attribute of table sets the width, in pixel, between the edge of cell…
2024
Which attribute of table sets the width, in pixel, between the edge of cell and its contents?
- A.
Cellpadding
- B.
Cellspacing
- C.
Cols
- D.
Rows
Attempted by 70 students.
Show answer & explanation
Correct answer: A
Cellpadding is the attribute that specifies the space (in pixels) between a table cell's content and its border. It creates internal padding inside the cell, making the content appear farther from the cell edges.