Q:

Look at the following jQuery selector: $(“div#intro .head”). What does it select

-2

Look at the following jQuery selector: $(“div#intro .head”). What does it select


  1. The first element with id=”head” inside any div element with class=”intro”
  2. All elements with class=”head” inside the first div element with id=”intro”
  3. All div elements with id=”intro” or class=”head”

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

C.All div elements with id=”intro” or class=”head”

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

jQuery MCQ Quiz (Multiple Choice Questions And Answers)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
$.foo() is equivalent to... >>
<< Which jQuery method is used to hide selected eleme...