Computer Science, asked by ramdastudu2778, 1 year ago

What is the correct jquery code to set the background color of all p elements to red? $("p").style("background-color","red");?

Answers

Answered by anandayush634p9tvz2
13
$("p").css("background-color","red");


hope it helps
Similar questions