Solved

Which of the Following Statements Would Correctly Print Out the Sentence

Question 1

Multiple Choice

Which of the following statements would correctly print out the sentence "Hello World" in blue


A) document.write( "< p style = \"color: blue\") ; document.write( "Hello World >") ;
B) document.write( "< p > style = \"color: blue\" Hello World < /p >) ;
C) document.write( "< p style = \"color: blue\" Hello World + "< /p >") ;
D) document.write( "< p style = \"color: blue\" >") ; document.write( "Hello World < /p >") ;

Correct Answer:

verifed

Verified

Related Questions