Which of the following property defines whether table cell borders are connected or separate?

border-table
border
border-collapse
none of the mentioned

The correct answer is: C. border-collapse

The border-collapse property defines how the borders of table cells collapse when they meet. The possible values are:

  • separate: The borders of adjacent cells are separated by a space.
  • collapse: The borders of adjacent cells are merged into a single border.
  • inherit: The value of the border-collapse property on the parent element is inherited.

The border-table property is not a valid CSS property.

The border property is used to specify the width, style, and color of the border around an element. It can be applied to any element, but it is most commonly used to style tables and table cells.

The border-collapse property is more specific than the border property, so it will override the border property if both properties are used.