HTML Table bordercolor

Techno HTML5

The table contains a lot of data. You can use the table border and table color by the attribute of table <table> border color attribute.
You can use any type of color code within bordercolor attribute.
Before you give the border color you need to give the border of a table. Without table border declaration it cannot be work.

First, give the table border.
Second, give the table bordercolor.
The following example of a table in which table border and table border color appears.

HTML Table bordercolor


<!DOCTYPE>
<html>
<head>
<title>HTML Table bordercolor </title>
</head>
<body>
<table height="150" width="500" border="1" bordercolor="red">  
<tr> 
<td> 
Employee Name
</td> 
<td> 
Ramesh 
</td> >
<td> 
Vikash
</td> <td> 
Sheema 
</td> <td> 
Suresh
</td> 
</td> <td> 
Reetu
</td> 
</tr> 
<tr> 
<td> 
Salary
</td> 
<td> 
10000
</td> 
<td> 
15000
</td> <td> 
20000
</td> <td> 
12000
</td> 
<td> 
25000
</td> 
</tr> 
</table>
</body>
</head>
</html>
Run

Note- The table bordercolor is specified "red".