1.

A JavaScript program can traverse and manipulate document content through __________(a) Element Object(b) Document Object(c) Both Element and Document Object(d) Data object

Answer» Right choice is (c) Both Element and Document Object

To explain I would say: A JavaScript program can traverse and manipulate document content through the Document object and the Element objects it contains. It can alter the presentation of that content by scripting CSS styles and classes. The Element object represents an HTML element, like P, DIV, A, TABLE, or any other HTML element.


Discussion

No Comment Found

Related InterviewSolutions