Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>本教程(w3big.com)</title> </head> <body> <table border="1" bgcolor="#00FF00"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> <tr> <td>February</td> <td>$80</td> </tr> </table> <p><b>提示:</b>如果所有浏览器要显示相同颜色,要使用十六进制的颜色代码。</p> <p><b>注意:</b>在HTML 4中 bgcolor 属性已废弃,HTML5 已不支持该属性,可以使用 CSS 代替。</p> </body> </html>