| |
download
The Netwriting Masters Course
Change Border Color of a Table
It’s also possible to change the border color of a table by adding the color attribute within the table tag as shown below:
<TABLE
BORDER="2" BORDERCOLOR="#0000FF" CELLPADDING="2" CELLSPACING="2"
WIDTH="50%">
<TR>
<TD>First Column</TD>
<TD>Second Column</TD>
</TR>
</TABLE> |
Remember to edit the text in bold to suite the choice of color you want to use as your border color.
Here is how the example above would look like on a web page.
| First Column |
Second Column |
Close change border color window and return to Html JavaScript Homepage

|