This chapter deals with programming issues and the WWW, specifically detailing how to embed objects into HTML. In the current HTML specification (4.0), objects include:
Applets are server-side programs that are downloaded to and executed on your PC. Applets differ from JavaScript program source code embedded in HTML because the applets:
The <object>...</objectGt tag replaces a number of tags including:
And oddly enough, the OBJECT tag can be used in place of the IMG and MAP tags for image maps (see p. 435 for details):
Versus the more common form of:
<img src="usmap.gif" usemap="#map1">Click here for a simple example of how to use the OBJECT tag to play a sound file.
There are many attributes associated with the OBJECT tag as it is the new do-all-be-all multi-media tag. I will leave in depth study of this tag to your reading.
JavaScript is Netscape's HTML scripting language, allowing you to pump up HTML and make it do things it was not designed to do.
Some features of JavaScript include:
Not to be outdone by archrival Netscape, Microsoft introduced their own HTML scripting language - vbScript. It functions just like JavaScript, but the code is Visual BASIC, not 'C'.
Beyond what little we have done with JavaScript (use of the window.alert function to pop up a window), I leave the exploration of JavaScript as a programming language to you and the next semester of Advanced HTML.