Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the property textContent?

  2. 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

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment