3.6. Embedding Other Objects in Documents

Although there are a few text-only browsers, almost all browsers support embedded image files. But images are not the only kind of objects that can be placed in Web pages. Java applets are also supported by most major browsers. Other audio, video, VRML, and ActiveX objects typically either depend on the user having a specific plug-in or are browser specific.

Embedded Applets

HTML Element: <APPLET CODE="..." WIDTH=xxx HEIGHT=xxx ...> ... </APPLET>
Attributes: CODE, WIDTH (required), HEIGHT (required), CODEBASE, ALT, ALIGN, HSPACE, VSPACE, NAME, OBJECT, ARCHIVE (nonstandard), MAYSCRIPT (nonstandard)

The APPLET tag enables you to embed an applet into a page and is discussed in detail in Chapter 9 (Applets ...

Get Core Web Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.