<!doctype html>
<title>Example</title>
<style>
table {
border: 1px solid orange;
width: 40vw;
margin: 2vw;
float: left;
}
td, th {
padding: 1vw;
.separate {
border-collapse: separate;
.collapse {
border-collapse: collapse;
p {
clear: both;
</style>
<table class="separate">
<tr>
<th>Header</th>
</tr>
<td>Cell</td>
</table>
<table class="collapse">
<p>The default value for <code>border-collapse</code> is <code>separate</code>. </p>