jQuery syntax is made by using HTML elements. You can perform some action on those elements. jQuery starts with the dollar sign ($) and ends with a semicolon (;).

Basic syntax of jQuery is: $(selector).action ()

  • $ symbol define the jQuery.
  • Selector is used to define the Query Elements in HTML document.
  • action () is used to define the action performed on the elements.


Pin It on Pinterest

Share This