Which of the following attribute takes the source of the PHP file?
A. img
B. src
C. source
D. none of the mentioned
Answer: Option B
Solution (By Examveda Team)
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">
Join The Discussion