CSS border-collapse property

CSS border-collapse

CSS border-collapse property is used in table. It denotes whether the borders of the table to be collapsed or not.

If the border is not collapsed, each cell will be separated.

css border-collapse values

border-collapse has following two values,

  • Collapse : Borders are joined into a single one.
  • Separate : It is the default value, it will separate the cell values by creating each cells own border.


Try Yourself