Applets are small applications that receive a window-like portion of the screen for input and output. We have a step-by-step introduction to applets. An HTML file with an applet might look like:
... <APPLET code="Rolodex.class" codebase="../applets" width=162 height=228 align="center"> <PARAM name=imagesource value="../images"> <PARAM name=images value="debra.gif|vakgroep.gif"> <PARAM name=direction value="LEFT"> <PARAM name=pause value=3000> <PARAM name=nap value=10> <PARAM name=soundsource value="../audio"> <PARAM name=soundtrack value="spacemusic.au"> <IMG align="top" src="../images/debra.gif"> </APPLET> ... |
The browser will reserve an 162x228 portion of the document window for the Applet. It will execute the Rolodex applet with the specified parameters.
If the browser is not Java-enabled it should show the specified image.