<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.
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. |
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>
file: /Techref/language/html/r020/slide6.htm, 6KB, , updated: 2005/1/6 14:56, local time: 2024/12/2 13:16,
18.97.9.168: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? <A HREF="http://www.massmind.org/Techref/language/html/r020/slide6.htm"> HTML Reference</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to www.massmind.org! |
.