Appendix
Answers to Self Tests
Chapter 1: Introduction to JavaScript
10. B. It can validate the information before it is sent to the server.
13. D. The client/Web browser
14. D. It is added to an HTML document.
15. A. <script> and </script> HTML tags
Chapter 2: Placing JavaScript in an HTML File
2. B. To ensure the Web page validates when using XHTML
4. The noscript tag provides
content for those without
JavaScript.
6. B. <script type= “text/javascript” src=“yourfile.js”></script>
...