w3 css border-collapse code example Example 1: css table border-collapse .table1 { border-collapse: collapse; } Example 2: border-collapse export default