jquery embed code example

Example 1: jquery cdn google

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

Example 2: jqeury cdn

//Note: This is for version 3.5.0. You can change it here \/
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js" integrity="sha256-xNzN2a4ltkB44Mc/Jz3pT4iU1cmeR0FkXs4pru/JxaQ=" crossorigin="anonymous"></script>

Example 3: how to add jquery to html

<!--You can insert Jquery into HTML with the <script> tag.-->
<head>
  <script type = 'text/javascript' src = 'https://code.jquery.com/jquery-3.3.1.js'></script>
</head>

Example 4: import jquery google cdn

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

Tags:

Html Example