The table is used to display the data in arranging and alignment. We can use the table border by the <table> border attribute.
Table border representation is a bold outline of the table.
We can specify the table border boldness or not.
Let's learn with an example -
<!DOCTYPE html>
<html>
<head>
<title>HTML Table </title>
</head>
<body>
<table height="150" width="500" border="4">
<tr>
<td>
Employee Name
</td>
<td>
Ramesh
</td>
<td>
Vikash
</td> <td>
Sheema
</td>
</tr>
<tr>
<td>
Salary
</td>
<td>
10000
</td>
<td>
15000
</td> <td>
20000
</td>
</td>
</tr>
</table>
</body>
</html>
Run
Note:-Table border is specified 4 .