Sunday, July 4, 2010

Applet Html Tag

This is the Html Tag for an Applet :

< APPLET


[CODEBASE = codebaseURL]    < ! - - optional, specifies the base URL of the applet code - ->

CODE = appletFile  < ! - - required, name of the file containing your applet’s compiled .class file - ->

[ALT = alternateText]  < ! - -  optional, message to be displayed if the browser supports the APPLET tag but can’t currently run Java applets. - ->

[NAME = appletInstanceName]  < ! - -  optional , name for the applet instance - ->

WIDTH = pixels HEIGHT = pixels  < ! - - required size in pixels - ->

[ALIGN = alignment]  < ! - - optional, alignment: LEFT, RIGHT, TOP, BOTTOM, MIDDLE, BASELINE, TEXTTOP, ABSMIDDLE, and ABSBOTTOM- ->

[VSPACE = pixels] [HSPACE = pixels]  < ! - - optional the space, in pixels, above and below the applet or left and right of the applet - ->

>

[< PARAM NAME = AttributeName VALUE = AttributeValue>]  < ! - -  specify applet specific arguments in an HTML page - ->
[< PARAM NAME = AttributeName2 VALUE = AttributeValue>] < ! - -  Applets access their attributes with the getParameter( ) method - ->
. . .

[HTML Displayed in the absence of Java]

/APPLET >

No comments:

Post a Comment