Solved

Which of the Following Statements Outputs the Following

Question 12

Multiple Choice

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 = "<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 = "<br />";
Document.write("This is line 1." + BR) ;
Document.write("This is line 2." + BR) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions