Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery :last Selector</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function() { $("p:last").css('color', 'red'); }); </script> </head> <body> <h1>Article heading</h1> <p>First paragraph start here...</p> <p>Second paragraph start here...</p> <h3>Footer heading</h3> </body> </html>
  Preview Arrow