Multiple Choice
What, if anything, is wrong with the following JavaScript code?
<script>document . write("<img src = 'puppy . JPG'/>") ;</script>
A) You cannot use document . write() to display an image; it can only display text .
B) The outer double quotes are not needed with the document . write() function .
C) You cannot use the document . write() function with JavaScript; it must be used with a form .
D) Nothing is wrong with this code .
Correct Answer:

Verified
Correct Answer:
Verified
Q6: When two variables have the same name,
Q7: A variable cannot be used as part
Q8: If you wanted the following function to
Q9: A(n) _ is a programming structure with
Q10: Output directly onto a web page from
Q12: When a function is called, you write
Q13: Functions that are written so they can
Q14: Variables in the parameter list of a
Q15: The numbers generated by the Math .
Q16: Select all that apply . Which of