Home »
MCQs »
jQuery MCQs
Which is the correct jQuery statement to fade out a <p> element?
46. Which is the correct jQuery statement to fade out a <p> element?
- $("p").fadeOut();
- $("#p").fadeOut();
- $(".p").fadeOut();
- $("p").fadeout();
Answer: A) $("p").fadeOut();
Explanation:
The jQuery statement to fade out a p elements is:
$("p").fadeOut();