Which object holds the real content of the page in JavaScript?

2018

Which object holds the real content of the page in JavaScript?

Answer: A. DocumentIn JavaScript, the document object represents the web page and holds the page's actual content as the DOM. The window object represents the browser window,…

  1. A.

    Document

  2. B.

    Alert

  3. C.

    Location

  4. D.

    Window

Attempted by 597 students.

Show answer & explanation

Correct answer: A

In JavaScript, the document object represents the web page and holds the page's actual content as the DOM. The window object represents the browser window, location stores URL information, and alert displays a message dialog. Hence the correct answer is Document.

Explore the full course: Up Lt Grade Assistant Teacher 2025

Loading lesson…