What is the property textContent?

What is the property textContent? 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.

Related Questions

Which property specifies the property of the event?
Which of the following CSS property border-color property sets the color of an element’s four borders?
Which of the following CSS Property defines the x-coordinate of the background-position property?
Which of the following Microsoft-introduced property defines the position of underlining set by the text-decoration property?
A model in which one physical property is used to represent another physical property is known as: