Q54
Which of the following attribute takes the source of the PHP file?
A.
img
B.
src
AnswerC.
source
D.
none of the mentioned
Answer: Option B
Solution
Answer: Option B
Solution:
The syntax to referencing a PHP file using external JavaScript is consistent enough with what we already know:
<script type="text/javascript" src="myscript.php">