Which of the following statements outputs the following?This is line 1.This is line 2.

A. document.write("This is line 1.");
document.write("This is line 2.");
B. var BR = "
";
document.write("This is line 1." "BR");
document.write("This is line 2." "BR");
C. document.write"This is line 1.";
document.write"This is line 2.";
D. var BR = "
";
document.write("This is line 1." + BR);
document.write("This is line 2." + BR);


Answer: D

Computer Science & Information Technology

You might also like to view...

Header and trailer nodes are used in DoublyLinkedList because:

A. they eliminate special cases that work with the front and end of the list B. without a header node, we can’t iterate forwards through the list and without a trailer node, we cannot iterate backwards through the list C. you can’t use the hash function without them D. All of the above

Computer Science & Information Technology

The use of Outlook Help is limited to times when you are not composing a new message.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

________ affects the background color or pattern of a cell, or group of cells

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following would be the most likely networking set-up for a group of students who bring along their own computers and get together at someone's house on the weekends to play games?

a. VPN b. WAN c. LAN d. server-client networking

Computer Science & Information Technology