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

border-style
border-collapse
border-color
border-bottom-width

The correct answer is B. border-collapse.

The border-collapse property defines how the borders of adjacent table cells are collapsed. The possible values are separate and collapse.

  • separate: The borders of adjacent table cells are separated by a space.
  • collapse: The borders of adjacent table cells are merged into a single border.

The border-style property defines the style of the table cell border. The possible values are solid, dashed, dotted, double, groove, ridge, inset, and outset.

The border-color property defines the color of the table cell border. The possible values are a color name, a hex code, or an RGB value.

The border-bottom-width property defines the width of the bottom border of the table cell. The possible values are a length value or auto.

Exit mobile version