Selector paired with an action.
$('p').hide()
Selector
Action
// Turn all <p> elements into a jQuery element $('p') // Turn all elements // with class 'test' // into jQuery elements $('.test')
<div id="test"></div> <div class="test"></div> <p></p> <h1></p>
$(document).ready(function() { $('p').hide(); });
By Brett Caudill