How to include CDN Based Version of jQuery in my HTML file?

jQueryWeb DevelopmentFront End Technology

Easily include jQuery library into your HTML code directly from Content Delivery Network (CDN). Google and Microsoft provide content delivery for the latest version.

You can try to run the following code to learn how to use Google CDN for jQuery:

Example

Live Demo

<html>
   <head>
      <title>jQuery CDN</title>
      <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
       
      <script>
         $(document).ready(function(){
            document.write("Tutorialspoint!");
         });
      </script>
   </head>
   
   <body>
      <h2>Hello</h2>
   </body>
   
</html>
raja
Published on 12-Feb-2018 10:18:26
Advertisements