Sail E0 Webinar
Question
What is the property textContent?
Options:
A .  Sets the textual content of a node
B .  Returns the textual content of a node
C .  Both a and b
D .  None of the mentioned
Answer: Option C


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers