简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="utf-8"> <link href="/static/next/css/tryit.css?v=2017082407" rel="stylesheet"/> <script src="https://cdn.staticfile.org/jquery/2.2.4/jquery.min.js"></script> <script> $(document).ready(function(){ $("tr:even").css("background-color","yellow"); }); </script> <h1>欢迎访问我的主页</h1> <table border="1"> <tr> <th>网站名</th> <th>网址</th> </tr> <tr> <td>Google</td> <td>http://www.google.com</td> </tr> <tr> <td>Baidu</td> <td>http://www.baidu.com</td> </tr> <tr> <td>简单教程</td> <td>http://www.twle.cn</td> </tr> <tr> <td>淘宝</td> <td>http://www.taobao.com</td> </tr> <tr> <td>Facebook</td> <td>http://www.facebook.com</td> </tr> </table> <footer>简单教程,简单编程<br/>Copyright © 简单教程 www.twle.cn</footer>
运行结果: