Q45
The style property belongs to while of the following object?
A.
Element
AnswerB.
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.