ระยะขอบ ระบุความกว้างระหว่างเซลล์ตาราง สามารถรับค่าได้หนึ่งหรือสองค่า ควรเป็นหน่วยของความยาว
ตัวอย่าง
คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อกำหนดความกว้างของเซลล์ตาราง:
<html>
<head>
<style>
table.one {
border-collapse:separate;
width:300px;
border-spacing:15px 40px;
}
</style>
</head>
<body>
<table class = "one" border = "2">
<caption>The border-spacing property</caption>
<tr><td> India </td></tr>
<tr><td> UK </td></tr>
</table>
<br />
</body>
</html>