Q49
Which of the following property refers to the root element of the document?
A.
documentElement
AnswerB.
elementdocument
C.
rootdocument
D.
none of the mentioned
Answer: Option A
Solution
Answer: Option A
Solution:
The documentElement property of the Document class refers to the root element of the document. This is always an HTML element.