No matter which type of selector we want to use in jQuery – be it CSS, XPath, or custom – we always start with the dollar sign and parentheses: $() $() Factory Function Let’s see some more common examples: A tag name: $(‘p’) gets all paragraphs in the document. An ID: $(‘#some-id’) gets the single