Which of the following property of a table element specifies whether the border should be shown if a cell is empty?

border-collapse
border-spacing
caption-side
empty-cells

The correct answer is D. empty-cells.

The empty-cells property specifies whether the border should be shown if a cell is empty.

The border-collapse property specifies how the borders of adjacent cells are collapsed.

The border-spacing property specifies the space between the borders of adjacent cells.

The caption-side property specifies the position of the caption relative to the table.

Exit mobile version