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
Modifies texual content
Correct Answer: Sets & Returns the textual content of a node
The property textContent sets or returns the textual content of a node and its descendants. If you set the textContent property, any child nodes are removed and replaced by a single Text node containing the specified string.