Vidyalelo
JavaScript · Q32

Server

Programming · JavaScript · question 32

Q32

A JavaScript program can traverse and manipulate document content through

A.
Element Object
B.
Document Object
C.
Both Element and Document Object
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
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.