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:
Verified
Q4: What does the following expression evaluate to
(
Q5: An alert dialog displaying the text "Welcome!"
Q6: Consider the following HTML5 code.
< html >
<
Q7: Which of the following sequences does not
Q8: Consider the following script. What is wrong
Q9: What is the result of the statement
Q10: Which of the following is not a
Q11: Whenever a value is placed in a
Q12: Which of the following is not a
Q14: In the following line the word document
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents