Home / CSE MCQs / Javascript MCQs :: Discussion

Discussion :: Javascript MCQs

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

    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