Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

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

CODE gives the file name of the applet to run. For example, this code says to use the applet "MyApplet.class":

this code produces this
<APPLET CODE="MyApplet.class" WIDTH=100 HEIGHT=100>
<PARAM NAME=TEXT VALUE="Hi There">
<P>Hi There<P>
</APPLET>

Hi There

If the class file is in a different directory than your HTML file, only give the file name, not the path. Use CODEBASE to give the path.

WRONG RIGHT
<APPLET 
     CODE="../graphics/MyApplet.class"
     WIDTH=100 HEIGHT=100>
<APPLET 
     CODE="MyApplet.class"
     CODEBASE="../graphics/"
     WIDTH=100 HEIGHT=100>
(doesn't work)

Hi There

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire