jQuery Core Features
jQuery is designed to simplify various tasks by writing less code. Here are some core features of jQuery.
It is easy to select, traverse and modifying the contents of DOM elements through jQuery.
The jQuery offers an elegant way to capture a wide variety of events such as click, change, blur etc.
The jQuery has made it simple to develop a responsive and feature-rich site using AJAX technology.
You can use plenty of jQuery’s built-in animation effects in your websites.
The jQuery is very lightweight library and will not hurt the performance of your applications.
Compatible with browsers
The jQuery has cross-browser support, and compatible with all major modern browsers such as Mozilla Firefox, Google Chrome, Safari, Internet Explorer, and Opera.
The jQuery supports the latest technologies like CSS3 selectors and basic XPath syntax.
How to use jQuery
You can use jQuery in HTML code in following ways.
jQuery Local Installation
Download jQuery library from jQuery official site (https://jquery.com/download/) on your machine and include it’s path in your HTML code.
<title>jQuery Local Installation</title>
document.write(“jQuery installed locally”);
jQuery CDN Based Installation
The jQuery library can be included into HTML code directly from CDN.
<title>jQuery CDN Based Installation</title>
src = “https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js”></script>
document.write(“jQuery Installed from CDN”);