Please note, this is a STATIC archive of website technosmarter.com from 20 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
 

HTML Table border Attribute | Create HTML border


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>
<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 .


Please Share

Recommended Posts:-