w3 jquery cdn code example

Example 1: cdn jquery

//cdn 
https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js

//file compressed
https://code.jquery.com/jquery-3.6.0.min.js


//file uncompressed
https://code.jquery.com/jquery-3.6.0.js

Example 2: jquery growl cdn

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js" type="text/javascript"></script>
<script src="javascript/jquery.growl.js" type="text/javascript"></script>
<link href="stylesheets/jquery.growl.css" rel="stylesheet" type="text/css" />

Example 3: how to start using jQuery CDN

<script
  src="https://code.jquery.com/jquery-3.4.1.js"
  integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
  crossorigin="anonymous"
></script>

Tags:

Html Example