The Power of jQuery Selectors: Selecting Elements
jQuery provides a myriad of ways to select DOM elements: you can select elements by attributes, element type, element position, CSS class, or a combination of these. The syntax for selecting elements is as follows: $(selector,[context]) or jQuery(selector, [context]) To select elements by tag name, use the tag name in the selector. For example, $(“div”) [ [ ...]