Bordercolor Attribute Example – HTML Syntax – Bordercolor HTML Example

Bordercolor Attribute Example – HTML Syntax – Bordercolor HTML Example

Purpose: – Illustrates the for the .

You can download an excellent free html editor at nvu. This HTML editor will allow you to easily experiment with these examples.

Function: bordercolor=”colorname” or bordercolor=”#rrggbb” Specifies the color of the border around the table and its cells.

View Example In Browser

< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>Bordercolor Attribute Example</title>
</head>
<body>
<table border="10" bordercolor="red"
 height="300" width="300">
  <tbody>
    <tr>
      <td>table has red border color</td>
    </tr>
  </tbody>
</table>
</body>
</html>