Examveda
Examveda

Which of the following Node object property returns the node immediately before a node?

A. previousSibling

B. textContent

C. index

D. localName

Answer: Option A

Solution(By Examveda Team)

The node object property previousSibling returns the node immediately before a node.

Join The Discussion

Related Questions on Document Object Model and Event Handling