December 1999
Intermediate to advanced
816 pages
20h 27m
English
Applets run in Web browsers and are loaded through HTML applet tags. The most important tags are covered here. Listing 9.1 shows sample HTML for running an applet.
<HTML> <Title> This is a sample Applet HTML file </Title> <BODY> <APPLET code=MyApplet archive=Myjar.jar width=400 height=300 codebase=http://www.gradschoollibrary.edu/Applets alternatetxt="Get a Java-enabled browser" vgap =5 hgap=5 <param name=imagefile > value=http://www.gradschoollibrary/Applets/images/libraryentrace.gif> </APPLET> </BODY> </HTML> |
This book does not cover HTML, so the non-applet tags will not be discussed. In the order in which they appear, here is what each tag does.
The <APPLET> ...
Read now
Unlock full access