如题比如想实现鼠标移动过某单元格时背景色为红色而鼠标点击过该单元格时背景色变为黑色要怎么实现呢?实验证明<td onclick="this.class='asgasg'"></td>和<td onclick="this.style.background-color='#000000'"></td>不能.