CIW
1D0-635 · Question #16
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…
The correct answer is C. <script type="text/javascript" src="/allFunctions.js"> </script>. See the full explanation below for the reasoning.
Question
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?
Options
- 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>
How the community answered
(34 responses)- A6% (2)
- B18% (6)
- C71% (24)
- D6% (2)
Community Discussion
No community discussion yet for this question.