Learn HTML Code Tutorial Reference Guide

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

Use CODEBASE to give the path to your appletCODEBASE 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:

<APPLET 
     CODE="MyApplet.class"
     CODEBASE="../applets/"
     WIDTH=100 HEIGHT=100>




 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial