日期:2014-05-16 浏览次数:20349 次
<html> <head> <script type="text/javascript"> window.onload= function(){ document.getElementById("td1").style.color ="red"; } </script> </head> <body> <table border = "1"> <tr> <td id = "td1">1</td> <td>1</td> </tr> <tr> <td>1</td> <td>1</td> </tr> </table> </body> </html>