<html> <body> <table border="10" id="myTable"> <tr> <td>Contents of the cell</td> </tr> </table> <button onclick="myTable.borderColor='mediumblue';">Add color to the border</button> <button onclick="myTable.borderColorDark='blue';">Border color dark</button> <button onclick="myTable.borderColorLight='skyblue';">Border color light</button> </body> </html>
Related Scripts with Example Source Code in same category :