CSS · Properties — CSS Table

border-collapse

The CSS border-collapse property. Initial value: separate. Inherited.

Syntax
border-collapse: separate | collapse

Example

Try it

Notes

Media: visual. Applies to: tableElements. Computed value: asSpecified.

More in this group

border-spacing caption-side empty-cells table-layout

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course