Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which of the following property refers to the root element of the document?

  2. A.

     documentElement

    B.

     elementdocument

    C.

     rootdocument

    D.

     none of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The documentElement property of the Document class refers to the root element of the document. This is always an HTML element.


Be The First To Comment