Showing posts with label codebase. Show all posts
Showing posts with label codebase. Show all posts

Tuesday, 18 February 2014

THE HTML APPLET TAG

JAVA APPLET TAG IN HTML

The APPLET tag is used to start an applet from both an HTML document and from an applet viewer. An applet viewer will execute each APPLET tag that it finds in a separate window,while web browsers like Netscape Navigator, Internet Explorer, and Hot Java will allow many applets on a single page. So far, we have been using only a simplified form of the APPLET tag. 

The syntax for the standard APPLET tag is shown here. Bracketed items
are optional.

< APPLET
[CODEBASE = codebaseURL]
CODE = appletFile
[ALT = alternateText]
[NAME = appletInstanceName]
WIDTH = pixels HEIGHT = pixels
[ALIGN = alignment]
[VSPACE = pixels] [HSPACE = pixels]
>
[< PARAM NAME = AttributeName VALUE = AttributeValue>]
[< PARAM NAME = AttributeName2 VALUE = AttributeValue>]
. . .
[HTML Displayed in the absence of Java]

</APPLET>