简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <script> $(document).ready(function(){ $("p:last").css("background-color","yellow"); }); </script> <p>This is the first paragraph.</p> <p>This is the second paragraph.</p> <p>This is the last paragraph.</p> <footer>简单教程,简单编程<br/>Copyright © 简单教程 www.twle.cn</footer>
运行结果: