If you want to include jQuery in your web project using a Content Delivery Network (CDN), you can use one of the following popular CDNs. A CDN (Content Delivery Network) is a network of servers distributed around the world that host commonly used libraries and resources, making them available for faster download and use in your web applications.
Here are some CDN links for jQuery:
Google CDN:
- jQuery (latest version):
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Google's CDN is a widely used and reliable option for hosting jQuery.
- jQuery (latest version):
Microsoft CDN (Microsoft Ajax CDN):
- jQuery (latest version):
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.6.0.min.js"></script>
Microsoft's CDN is another option for hosting jQuery.
- jQuery (latest version):
jQuery Official CDN:
- jQuery (latest version):
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
You can also use the official jQuery CDN.
- jQuery (latest version):
Make sure to replace the version number (e.g., "3.6.0") with the specific version you want to use. If you want the latest version, you can omit the version number or use "3" or "3.x.x" to get the latest 3.x.x release.
Including jQuery via a CDN is a convenient way to ensure you get the latest version, and it can also improve loading times for your website because users might already have the library cached in their browser from visiting other sites.
0 Comments