Let suppose there are multiple <h3> elements in an HTML document, which is the correct jQuery statement to get the first <h3> element?
Options:
Explanation:
The correct jQuery statement to get the first <span class="w3-codespan"><h3></span> element is:
Tags:
jQuery
Answer:
Let suppose there are multiple <h3> elements in an HTML document, which is the correct jQuery statement to get the first <h3> element $("h3").first();.