1.

State whether the following statements are True or False for the document.write() method in client side JavaScript.i) The document.write() method was one of the very first scriptable APIs implemented by Netscape2 web browser.ii) document.write() concatenates its string arguments and inserts the resulting string into the document at the location of the script element that invoked it.iii) The document.write() method is commonly used in modern code i.e. innerHTML property and other DOM techniques.

A. i-True, ii-True, iii-False
B. i-True, ii-False, iii-False
C. i-True, ii-True, iii-True
D. i-False, ii-False, iii-True
Answer» B. i-True, ii-False, iii-False


Discussion

No Comment Found