Which of the following is a method of the Document object in the DOM?

NVS Computer Science / IT Teacher Recruitment · 2022 · PGT Computer Science · 15 Dec 2022 · Shift 2 · Computer Science or Information TechnologyModified — slightly modified from the official paper; see the solution

Which of the following is a method of the Document object in the DOM?

  1. A.

    Write("String")

  2. B.

    getElementsByWrite()

  3. C.

    getElementsById()

  4. D.

    getElementsByName()

Attempted by 20 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…