Examveda
Examveda

What is the property textContent?

A. Sets the textual content of a node

B. Returns the textual content of a node

C. Sets & Returns the textual content of a node

D. None of the mentioned

Answer: Option C

Solution(By Examveda Team)

The property textContent sets or returns the textual content of a node and its descendants.

Join The Discussion

Related Questions on Document Object Model and Event Handling