please dont rip this site
previous | start | next


APPLET

<APPLET
ALIGN=LEFT|CENTER|RIGHT|TOP|MIDDLE| BOTTOM
ALT=alternateText
CODE=appletFile
CODEBASE=codebaseURL
DOWNLOAD=n
HEIGHT=pixels
HSPACE=pixels
NAME=appletInstanceName
TITLE=text
VSPACE=pixels
WIDTH=pixels>
...
<PARAM NAME=AttributeName ...>
...
</APPLET>

Embeds a Java applet in an HTML document. The end-tag is required.

ALIGN=LEFT|CENTER|RIGHT|TOP|MIDDLE|BOTTOM
Describes the alignment of an object to text. The default is LEFT.
LEFT The applet is aligned to the left of surrounding text.
CENTER The applet is aligned to the center of surrounding text.
RIGHT The applet is aligned to the right of surrounding text.
TOP The applet is aligned to the top of surrounding text.
MIDDLE The applet is aligned to the middle of surrounding text.
BOTTOM The applet is aligned to the bottom of surrounding text.
ALT=alternateText
Specifies alternate text for text-only browsers or browsers that do not support Java.
CODE=appletFile
Specifies the name of the Java applet.
CODEBASE=codebaseURL
Specifies the base URL of the applet (the directory in which the applet is located).
DOWNLOAD=n
Specifies the image download order.
HEIGHT=pixels
Specifies the initial height of the applet display area.
HSPACE=pixels
Specifies the horizontal space in which the applet displays.
NAME=appletInstanceName
Identifies an applet to other applets within the HTML page.
PARAM NAME=AttributeName
Passes applet-specific arguments in from an HTML page. There may be no, one, or any number of PARAM NAME= attributes present in the APPLET start-tag.
TITLE=text
Specifies an advisory title string.
VSPACE=pixels
Specifies the space in pixels above the applet.
WIDTH=pixels
Specifies the initial width of the applet display area.

Applet resources are loaded relative to the document URL. The CODEBASE= attribute is used to change this default behavior. If the CODEBASE= attribute is defined, it specifies a different location in which to find applet resources. The value can be an absolute or a relative URL. The absolute URL is used as is, without modification, and is not affected by the document's BASE element. When the CODEBASE= attribute is relative, it is relative to the document URL (or BASE tag, if defined).

Example

<APPLET CODEBASE="applets/javaapps"
  CODE=JavaDemo.class
  WIDTH=100
  HEIGHT=200>
<PARAM NAME=text value="This is a Java applet.">
<IMG SRC=logo.gif ALT="Upgrade to Internet Explorer to view this Java 
applet.">
</APPLET>



previous | start | next

file: /Techref/language/html/r020/slide6.htm, 6KB, , updated: 2005/1/6 14:56, local time: 2024/11/15 23:02,
TOP NEW HELP FIND: 
18.118.2.111:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/language/html/r020/slide6.htm"> HTML Reference</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?