Home »
MCQs »
jQuery MCQs
Which is the correct jQuery selector statement to select all <div> elements?
13. Which is the correct jQuery selector statement to select all <div> elements?
- $(".div")
- $("#div")
- $("div")
- $("<div>")
Answer: C) $("div")
Explanation:
The statement $("div") is the correct syntax to select all <div> elements.