1.

Which of the following object belongs to the style property?(a) Element(b) Window(c) Location(d) DynamicI got this question in an internship interview.My question is based upon JavaScript in Web Browsers topic in section Server-Side and Client-Side Scripting of JavaScript

Answer»

Right ANSWER is (a) Element

Easiest explanation: 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.



Discussion

No Comment Found

Related InterviewSolutions