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?
- A.
Write("String")
- B.
getElementsByWrite()
- C.
getElementsById()
- D.
getElementsByName()
Attempted by 20 students.
Sign up free to check your answer
Sign up freeLoading lesson…