扫码下载编程狮APP
<!DOCTYPE html> <html> <head> <style type='text/css'> .on { background-color: red; } </style> </head> <body> <table onclick="this.classList.toggle('on');"> <tr> <td>123</td> </tr> </table> </body> </html>
The code above is rendered as follows:
联系方式:
扫描二维码
下载编程狮App
扫码关注 领资料包