<table border="" bordercolor="">

Browser
  • IE
  • Cr
  • Sf
  • Fx
Type

The bordercolor attribute of the TABLE element specifies the border color of the table.


<table border="5" bordercolor="#ff0000"></table>

Attribute Value Explanation
bordercolor=" " color code or name border color

Extension attribute. (Non standard attribute)

The difference of display

Border color example

Example


<table border="5" bordercolor="#ff0000">
<tr>
<td>Cell A</td>
<td>Cell B</td>
<td>Cell C</td>
</tr>
</table>

Output
Cell A Cell B Cell C