border color


<table border="" bordercolor="">

Browser
Internet Explorer Firefox
Type
Block-level Extension

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


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


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

Extension attribute. (Non standard attribute)

The difference of display

Border color example

Tips and Notes

Use CSS instead of this attribute. Please see the "Related Document" for details on CSS.


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