Search This Blog

Monday, April 16, 2012

Applets HTML tag and attributes:



In Order to run an applet, a HTML document has to be created. Within the HTML document , we will have to add an and tag pair. Following are the attributes of Applet Html tag:
Code: name of the compiled class(applet) which we are calling
Width: the width of applet on the screen.
Height: the height of applet on the screen.
Align: Specifies the alignment of an applet according to surrounding elements
Alt: Specifies an alternate text for an applet
Archive: Specifies the location of an archive file
Codebase: Specifies a relative base URL for applets specified in the code attribute
hspace: Defines the horizontal spacing around an applet
name: Defines the name for an applet (to use in scripts)
vspace: Defines the vertical spacing around an applet

No comments:

Post a Comment