Consider following HTML snippet:

    <p>
        <span>Something_1</span>
        <span>Something_2</span>
    </p> 
What will be the result of the execution following code?

$('span').wrapAll('<div></div>');

Follow CodeGalaxy

Mobile Beta

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