Sams Teach Yourself HTML 4 in 24 Hours
- Table of Contents
- Copyright
- About the Author
- Acknowledgments
- Tell Us What You Think!
- Put Your HTML Page Online Today
- I. Your First Web Page
- Hour 1. Understanding HTML and XML
- Hour 2. Create a Web Page Right Now
- Hour 3. Linking to Other Web Pages
- Hour 4. Publishing Your HTML Pages
- II. Web Page Text
- Hour 5. Text Alignment and Lists
- Hour 6. Text Formatting and Font Control
- Hour 7. Email Links and Links Within a Page
- Hour 8. Creating HTML Forms
- III. Web Page Graphics
- Hour 9. Creating Your Own Web Page Graphics
- Hour 10. Putting Graphics on a Web Page
- Hour 11. Custom Backgrounds and Colors
- Hour 12. Creating Animated Graphics
- IV. Web Page Design
- Hour 13. Page Design and Layout
- Hour 14. Graphical Links and Imagemaps
- Hour 15. Advanced Layout with Tables
- Hour 16. Using Style Sheets
- V. Dynamic Web Pages
- Hour 17. Embedding Multimedia in Web Pages
- Hour 18. Interactive Pages with Applets and ActiveX
- Hour 19. Web Page Scripting for Non-Programmers
- Hour 20. Setting Pages in Motion with Dynamic HTML
- VI. Building a Web Site
- Hour 21. Multipage Layout with Frames
- Hour 22. Organizing and Managing a Web Site
- Hour 23. Helping People Find Your Web Pages
- Hour 24. Planning for the Future of HTML
- VII. Appendixes
- A. Readers' Most Frequently Asked Questions
- B. HTML Learning Resources on the Internet
- C. Complete HTML 4 Quick Reference
- D. HTML Character Entities
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. |

Account Sign In
View your cart