HTML
<h1>Dinosaurs!</h1>
<ul>
<li>Stegosaurus</li>
<li class="tri">Triceratops</li>
<li>Ankylosaurus</li>
</ul>
JavaScript
$('h1') // Find all the <h1> tags
$('ul') // Find all the <ul> tags
$('ul li:last-child') // Find the last <li> tags inside <ul> tags
$('.tri') // Find everything with the class of `.tri`