Web Development jQuery Objective
Aug 07, 2013

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

Choose the correct answer:
A) $(“span”).style(“background-color”,”blue”);
B) $(“span”).manipulate(“background-color”,”blue”);
C) $(“span”).css(“background-color”,”blue”);
D) $(“span”).layout(“background-color”,”blue”);
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback