<!DOCTYPE html> <html> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"> </script> <script type="text/javascript" language="javascript"> $(document).ready(function() { $("h1").css("color", "red"); }); </script> </head> <body> <h1>This is first paragraph.</h1> <p>This is second paragraph.</p> <p>This is third paragraph.</p> </body> </html>