Consider following snippet:

<div>
    <span>first</span>
    <span>second</span>
</div>
How can you select all span elements that are children of div element.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes