Vidyalelo
JavaScript · Q63

Server

Programming · JavaScript · question 63

Q63

The style property belongs to while of the following object?

A.
Element
Answer
B.
Window
C.
Location
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
Each Element object has style and className properties that allow scripts to specify CSS styles for a document element or to alter the CSS class names that apply to the element.