Which statement shows the correct syntax to do this?

Jane has created a file with commonly used JavaScript functions and saved it as "allFunctions.js" in the application’s root directory. She wants to load this file into a Web page to access its functions. Which statement shows the correct syntax to do this?

Jane has created a file with commonly used JavaScript functions and saved it as "allFunctions.js" in the application’s root directory. She wants to load this file into a Web page to access its functions. Which statement shows the correct syntax to do this?

A.
<script link="text/javascript" href="/allFunctions.js"> </script>

B.
<script link="javascript/external" href="/allFunctions.js"> </script>

C.
<script type="text/javascript" src="/allFunctions.js"> </script>

D.
<script type="text/@linked" javaScript="allFunctions.js"> </script>



Leave a Reply 0

Your email address will not be published. Required fields are marked *