Attribute ||Explanation ||Example |
|Code ||Name of class file ||Code="myapplet.class" |
|Width=n ||n=Width of applet ||Width=200 |
|Height=n ||n=Height of applet ||Height=100 |
|Codebase ||Library where the applet is stored.|
If the applet is in same directory as
your page this can be omitted.
|Alt="Text" ||Text that will be shown in browsers where the ability to show applets has been turned off. ||alt="Menu Applet" |
|Name=Name ||Assigning a name to an applet can|
be used when applets should
communicate with each other.
|Justifies the applet according to the |
text and images surrounding it.
A full explanation of the individual
parameters is given here.
|Vspace=n ||Space over and under the applet. ||Vspace=20 |
|Hspace=n ||Space to the left and right of applet. ||Hspace=40 |