Examveda
Examveda

Which of the following is/are of Text nodes?

A. Text

B. Comment

C. Both Text and Comment

D. None of the mentioned

Answer: Option C

Solution(By Examveda Team)

Both Text and Comment are basically strings of text, and these nodes are much like the Text nodes that represent the displaying text of a document.

Join The Discussion

Related Questions on Document Object Model and Event Handling