Consider following HTML snippet:

    <h3>Hello World</h3>
    <p>Hello <span class="name">Mr Quiz</span>!</p>
        <span>My name is James</span>
How many <p> element will select the $("div p") jquery selector?
$("div p") will select all <p> element that are inside the div element.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes