Open In App

Web technologies Questions | jQuery Quiz | Set-3 | Question 10

Like Article
Like
Save
Share
Report

How do you change the style in a selected element in jQuery which one of the following is the correct way for this?
(A) css()
(B) Scss()
(C) html()
(D) style()


Answer: (A)

Explanation: The css() is used to change the style in a selected element in jQuery With the help of css you can style one or more elements in jQuery. You need to select the element and then change the style of that element with the help of css().

Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 20 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads