NVS PGT CS 2017 Part-B
October 14, 2023NVS PGT CS 2017 Part-B
October 14, 2023NVS PGT CS 2017 Part-B
Question 15 |
Identify the statement that is equivalent to the given statement : document. write (“Hello! Welcome to JavaScript”)
window.document.write (“Hello! Welcome to JavaScript”) | |
body.document.write. (“Hello! Welcome to JavaScript”) | |
location .document.write (“Hello! Welcome to JavaScript”) | |
document.writeln (“Hello! Welcome to JavaScript”) |
Question 15 Explanation:
The document object (of the HTML DOM) is a property of the window object. The statement window.document.write () is equivalent to document.write() statement.
Correct Answer: A
Question 15 Explanation:
The document object (of the HTML DOM) is a property of the window object. The statement window.document.write () is equivalent to document.write() statement.
Subscribe
Login
0 Comments