What should you do?

You write large amount of JavaScript code for your Web site. You need to take advantage of caching techniques to make sure that Web pages load as quickly as possible. You also need to ensure that you can modify the JavaScript code with the least amount of effort. What should you do?
A. Write JavaScript code inside the <SCRIPT> tag. Include the <SCRIPT> within the <HEAD> tag of the HTML page.
B. Write JavaScript code inside the <SCRIPT> tag. Include the <SCRIPT> within the <BODY> tag of the HTML page.
C. Write JavaScript code inside a separate file. Use the SRC attribute of the <SCRIPT> tag to link to the JavaScript file.
D. Write JavaScript code inside a separate file. Use the HREF attribute of the <LINK> tag to link to the JavaScript file.

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.