MCQ Answer

Which of the following jQuery method apply a style on an element?

Which of the following jQuery method apply a style on an element?

Topic : JQuery Introduction

A. addStyle(classes)

B. addClass( classes )

C. addCSSClass(classes)

D. None of these




Correct Answer is :

B. addClass( classes )



Explanation
The addClass( classes ) method can be used to apply defined style sheets onto all the matched elements. You can specify multiple classes separated by space.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad