Q:

jQuery code to set the background color of all span elements to blue?

0

jQuery code to set the background color of all span elements to blue?


  1. $(“span”).style(“background-color”,”blue”);
  2. $(“span”).manipulate(“background-color”,”blue”);
  3. $(“span”).css(“background-color”,”blue”);
  4. $(“span”).layout(“background-color”,”blue”);

All Answers

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

Correct Answer:

C.$(“span”).css(“background-color”,”blue”);

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
What does the min mean?... >>
<< The ………. method is like offset(), except tha...