You can add jQuery to your HTML website by specifying it within the “src” attribute of an <SCRIPT> tag. <SCRIPT> tags are usually placed inside the <HEAD> section of each web page where you need jQuery to be added:
You probably want to add the minified (min) version of the library to your web page, unless you are also interested in looking at internal jQuery library code.
The location of the script is up to the programmer. If the jQuery library file was added to the same directory where your HTML file is located, then all you have to do is supply the file name as shown in the example above.
How to Add jQuery From a Remote URL
Notice the http protocol is missing in this link. This is done on purpose. The protocol “HTTP” or “HTTPS” will be automatically chosen based on the protocol of the web page you are adding this script to.
The Difference Between “Minified” (min) And Standard Versions
A non-minified version of jQuery library can be used when you are still developing your website locally on your computer and sometimes need to look at how jQuery library works internally. The standard version of the jQuery library