Selector Example Selects: $ (" ") All Elements
Selector Example Selects: $ (" ") All Elements
:first $("p:first") The first
<p> element
: $ All elements
contains(text) (":contains('Hello')" which
) contains the
text "Hello"
:has(selector) $("div:has(p)") All <div>
elements
that have a
<p> element