Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

Summary

This hour has given you a brief outline of the three types of interactive programming that are easiest to add to your Web site: JavaScript, Java applets, and ActiveX controls. It also discussed the difference between these technologies and more traditional server-side scripting and Netscape plug-ins.

You didn't get enough technical stuff in this short hour to write your own programs and scripts, but you did learn the basic HTML to insert prewritten ones into your Web pages. You also saw how to use an ActiveX control to embed video in a page and how to combine that with what you learned in Hour 17 for maximum compatibility.

In Hour 19 you learn to write some of your own simple JavaScripts to perform some of the easiest—and most useful—tasks for which scripting is commonly used.

Table 18.1 summarizes the tags covered in this hour.

Table 18.1. HTML Tags and Attributes Covered in Hour 18

Tag Attribute Function
<applet>…<applet>   Inserts a self-running Java applet.
  class="&hellip" The name of the applet.
  src="&hellip" The URL of the directory where the compiled applet can be found (should end in a /, as in "http://mysite/myapplets/"). Do not include the actual applet name, which is specified with the class attribute.
  align="&hellip" Indicates how the applet should be aligned with any text that follows it. Current values are top, middle, and bottom.
  width="&hellip" The width of the applet output area in pixels.
  height="&hellip" The height of the applet output area in pixels.
<param />   Program-specific parameters. (Always occurs within <applet> or <object> tags.)
  name="&hellip" The type of information being given to the applet or ActiveX control.
  value="&hellip" The actual information to be given to the applet or ActiveX control.
<object>…<object>   Inserts images, videos, Java applets, or ActiveX OLE controls into a document.
  classid="&hellip" The address of a Java applet or identification code for an ActiveX program.
  id="&hellip" Gives an identifying name for a Microsoft ActiveX program (Microsoft only).
  data="&hellip" Can be used in some situations to tell an applet or program where to find some data that it needs.
  type="&hellip" Can indicate the type of data referred to by a data attribute.
  standby="&hellip" Lets you specify a text message to be displayed while an applet or program object is being loaded and initialized.

Share ThisShare This

Informit Network