When you put an applet on your page you will need to save the applet on your server as well as the HTML page the applet is embedded in. When the page is loaded by a visitor the applet will be loaded and inserted on the page where you embedded it. Applets have the file extension "class". An example would be "myapplet.class". Some applets consist of more than just one class file, and often other files need to be present for the applet to run (such as JPG or GIF images used by the applet). Make sure to check the documentation for the applet to see if you have all files for it to run. Before embedding an applet on your page you need to upload the required files to your server. Below is a short example showing how simple it is to embed an applet on a page.
Two HTML tags are relevant according to applets: <Applet> and <Param>. The <Applet> tag embeds the applet in your HTML page. The <Param> tag is used to enter parameters for the applet. The following attributes can be set for the <Applet> tag:
The <Param> tag has the general syntax:
Each applet has different parameters that should be set. Typical parameters for an applet would be:
|
Wednesday, 31 October 2012
EMBED APPLETS IN HTML
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment