HTML Attribute for <APPLET ...>
CODEBASE ="text string"

Use CODEBASE to give the path to your applet CODEBASE indicates the path to the directory of the applet class. CODEBASE is used for telling how to find the class file when it is not in the same directory as the web page. Do not use CODE to indicate the path, use CODEBASE.

In this example, the class file is in the directory "applets", which is a different directory than where the web page is:

 WIDTH=100 HEIGHT=100>

<APPLET WIDTH="..."> >