fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"> </script> <script> $(document).ready(function(){ $("a[href$='.org']").css("background-color","yellow");}); </script> </head> <body> <a href="http://www.fmpq.com">Fmpq教程</a><br> <a href="http://www.google.com">Google.com</a><br> <a href="http://www.wikipedia.org">wikipedia.org</a> </body> </html>
运行结果