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

2018

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

  1. A.

    Document

  2. B.

    Alert

  3. C.

    Location

  4. D.

    Window

Attempted by 106 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