Table Border

The CSS Table Border property it is used to set the border of a html table.

Table Border

<style>
table, th { border: 2px solid green; }
td { border: 1px solid green; }
</style>

Table Border example:

<html>
<head>

</head>
<body>
Column1Column2
cell1cell2
cell3cell4
</body> </html>



Column1Column2
cell1cell2
cell3cell4