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?

  1. A.

    Cellpadding

  2. B.

    Cellspacing

  3. C.

    Cols

  4. 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.

Explore the full course: Hpsc Pgt Computer Science