Discussion Forum : Dom And Event Handling
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 Your Solution hear:

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