HTML Table border Attribute | Create HTML border

Techno HTML5

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 -

HTML Table Border


<!DOCTYPE>
<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>
</head>
</html>
Run

Note:-Table border is specified 4 .