MCOM 351 - Teach Yourself Visually HTML & CSS Chapter 13 - Working with JavaScript
exam review questions
(p.252) ________ are short programs you can write to add interactivity to Web pages.
(p.252 & 254) Scripting instructions can be activated when a(n) ________ occurs, such as when a user clicks a link or moves the mouse pointer over an image.
(p.252 & 254) Scripts can be activated ________ when the user downloads your page.
(p.252) Most Web page scripts are written in the ________ language, which nearly all Web browsers support.
(p.252) Because JavaScript code is executed by Web ________, also known as clients, JavaScript is known as a client-side scripting language.
(p.252) Scripting languages such as PHP and Perl run on Web ________ and are known as server-side scripting languages.
(p.253) JavaScript code can be ________ within the HTML of your page or in a separate file.
(p.253) If you put JavaScript inside an HTML page, you need to bracket it with opening and closing <________> tags.
(p.253 & 257) If you put your JavaScript in a separate file, you need to end the file name with a ________ extension.
(p.253) To use code from an external file, you need to link to the file in your page using <SCRIPT> tags and a(n) ________ attribute.
(p.253 & 259) Some users turn off the JavaScript function in their browsers for ________ reasons.
(p.254) You can determine what happens after a script event action by specifying an event ________.
(p.254) Event handlers are not added using the <SCRIPT> tags but, rather, appear within HTML ________ tags.
(p.258) If a browser does not support JavaScript, it displays your script coding on the Web page instead of activating the script. To prevent this from happening, you can hide the script using the ________ tags.
(p.259) You can remind users that their scripting feature is turned off by using the <________> tag.
(p.264) The image rollover effect works best if the images have the same ________.
(p.265) To make rollover effects more immediate, you can instruct the browser to ________ the rollover image using JavaScript.