Including an Applet on a Web Page
After you create the class or classes that compose your applet and compile them into class files, you must create a Web page to place the applet on.
Applets are placed on a page by using the <APPLET> tag, an HTML programming command that works like other HTML elements. There also are numerous Web-page development tools such as Claris Home Page and Macromedia Dreamweaver that can be used to add applets to a page without using HTML.
The purpose of <APPLET> is to place an applet on a Web page and control how it looks in relation to other parts of the page.
Java-capable browsers use the information contained in the tag to find and execute the applet's compiled class files. In this section, you learn how to put Java ...
Get Sams Teach Yourself Java 2 in 21 Days, 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.