Java - What are the attributes of Applet tags? Explain the purposes

What are the attributes of Applet tags?

- height : Defines height of applet
- width: Defines width of applet
- align: Defines the text alignment around the applet
- alt: An alternate text to be displayed if the browser support applets but cannot run this applet
- archive: A URL to the applet when it is stored in a Java Archive or ZIP file
- code: A URL that points to the class of the applet
- codebase: Indicates the base URL of the applet if the code attribute is relative
- hspace: Defines the horizontal spacing around the applet
- vspace: Defines the vertical spacing around the applet
- name: Defines a name for an applet
- object: Defines the resource name that contains a serialized representation of the applet
- title: Display information in tool tip
Java - How can we determine the width and height of my applet?
How can we determine the width and height of my applet? - Applet tags have attributes width and height with which we can determine their dimensions...
Java - Explain how to set the background color within the applet area
How to set the background color within the applet area - You can set the background color of an applet in the following manner:..
Java - What are methods that controls an applet’s life cycle, i.e. init, start, stop and destroy?
Methods that controls an applet’s life cycle - Life Cycle of an Applet: Basically, there are four methods in the Applet class on which any applet is built...
Post your comment