Links
Home
Email
<APPLET>
Description:
The APPLET tag is intended to run a Java applet (routine). Parameters are passed in an additional tag called <PARAM>.
Attributes:
| Align="key" | |
| "key" indicates how to align the applet. May be LEFT, RIGHT, TOP, MIDDLE or BOTTOM. | |
| Alt="text" | |
| Text to be displayed if the browser does not support applets. | |
| code=url | |
| The URL of the class file containing the applet to be executed. | |
| codebase=url | |
| A base URL to be applied to relative URLs within the applet definition. | |
| hspace="n" | |
| The number of pixels to leave to the right and left of the applet display area. | |
| height="n" | |
| The height of the applet in pixels. | |
| name="applet name" | |
| The name of the applet. This applet is located within the file specified by the code attribute. This allows a class file to contain more than one applet. | |
| width="n" | |
| The width of the applet in pixels. | |
Examples:
<applet CODE="Animate1.class" WIDTH="468" HEIGHT="60" ALIGN="Top">
<param NAME="COPYRIGHT" VALUE="Animate applet, Copyright 1997 Sun
Microsystems, Inc., all rights reserved.">
<param NAME="DOCUMENTATION" VALUE="Documentation found at:
http://www.xm.com/cafe/">
<param NAME="WIZARD" VALUE="Created with J-Perk. J-Perk Web site at:
http://www.mcwebsoftware.com/j-perk">
<param NAME="SOUND.ACTIVATION.0" VALUE="auto">
<param NAME="TRANSITION.STEP.0" VALUE="1">
<param NAME="TRANSITION.RATE.0" VALUE="0">
<param NAME="TARGET.0" VALUE="_blank">
<param NAME="TARGET.1" VALUE="_blank">
<param NAME="IMAGE.0" V
VALUE="http://internet-tips.net/AdBanners/internetwarriors.gif">
<param NAME="IMAGE.1"
VALUE="http://internet-tips.net/AdBanners/ezmoneywithezines.gif">
<param NAME="PAUSE.0" VALUE="30000">
<param NAME="TRANSITION.TYPE.0" VALUE="scroll(2)">
<param NAME="TRANSITION.TYPE.1" VALUE="scroll(2)">
<param NAME="URL.0"
VALUE="http://www.myaffiliateprogram.com/u/warriors/b.asp?id=4506">
<param NAME="URL.1"
VALUE="http://www.ezmoneywithezines.com/cgi-bin/s.cgi?why-170">
<param NAME="CYCLES" VALUE="0">
</applet>
|
This is a complex call to an Applet which displays rotating banner advertisements.
<applet code="Lake.class" width="434" height="268"> <param name="image" value="image1.jpg" border="0"> <param name="href" value="http://www.viperspit.com/lake.html"> </applet> |
This is a simpler example, showing a call to the Lake applet. If you would like to see an example of this applet in action, see Ring Of Lake Applets Webring.
Tips:
-
Use the HEIGHT and WIDTH attributes so the proper size box is pre-displayed. This is also useful if your visitor's browser does not support Java.
-
Use ALT to include a description of the applet if their browser does not support Java.
Internet Tips Contents
404 Errors
Advertising
Autoresponse
Awardmaster
Basics
Browsers
Careers
Chatting
Disasters
Domains
Email
Emoticons
Ezines
Free Stuff
Fun Stuff
FTP
Graphics
Homepages
HTML Reference
HTML Tutorial
Interactive
Legal
Links
Msg Boards
Microsoft
Money
Multimedia
Networks
Newsgroups
Newsletter
Products
RFC's
Ringmaster
Searches
Security
Sticky Sites
Surfing
TANSTAAFL
Telnet
Viral
Webmaster
Your System