How to Include jQuery in a Web Page

After downloading jQuery, we can include it in our HTML page with a <script> tag:

<html>
<head>
  <title>My Page</title>
  <script src="jquery-1.11.2.min.js"></script>
</head>
<body>
  Hi, here is some text.
</body>
</html>

Now that jQuery is included, we can write JavaScript that uses it.

Comments

Leave a comment

What color are brown eyes? (spam prevention)
Submit
Code under MIT License unless otherwise indicated.
© 2020, Downranked, LLC.