Click a selector to see which element(s) gets selected int the Result:
$(":contains(Duck)")
$(":header:not(h1)")
$(":header")
$(":parent")
$(":root")
$(".intro, #Lastname")
$(".intro")
$("[id^=L]")
$("[id]")
$("[id*=s]")
$("[id=my-Address]")
$("[id|=my]")
$("[id$=ess]")
$("[title~=beautiful]")
$("*")
$("#Lastname")
$("b:only-child")
$("div > p")
$("div p")
$("div:has(p)")
$("h1, p")
$("h1")
$("h3:only-of-type")
$("li:nth-child(1)")
$("li:nth-last-child(1)")
$("li:nth-last-of-type(2)")
$("li:nth-of-type(2)")
$("p:first-child")
$("p:first-of-type")
$("p:first")
$("p:lang(it)")
$("p:last-child")
$("p:last-of-type")
$("p:last")
$("p[id!=my-Address]")
$("table:visible")
$("tr:even")
$("tr:odd")
$("ul + h3")
$("ul ~ table")
$("ul li:eq(0)")
$("ul li:gt(0)")
$("ul li:lt(2)")

<h1>Welcome to My Homepage</h1>

<div class="intro">

<p>My name is Donald <span id="Lastname">Duck</span> </p>

<p id="my-Address"> I live in Duckburg </p>

<p>I have many friends:</p>

</div>

<ul id="Listfriends>
  • <li>Goofy</li>
  • <li>Mickey</li>
  • <li>Daisy</li>
  • <li>Pluto</li>
</ul>

<p> I really like Daisy!! </p>

<p lang="it" title="Hello beautiful"> Ciao bella</p>

    <h3>We are all animals!</h3>

    <p> <b>My latest discoveries has led me to believe that we are all animals:</b> </p>

    <table>
      Name Type of Animal
      Mickey Mouse
      Goofey Dog
      Daisy Duck
      Pluto Dog
      </table>