Idocs Guide to HTML

<PARAM ...>

Usage Recommendation
use it if you use <APPLET ...>

  • NAME: name of the parameter
  • VALUE: value of the parameter

Parameters are how you give details about how an applet should run. You use <PARAM ...> to communicate parameters. For example, if you want to tell MyApplet what text to display, you use the TEXT parameter.

this code produces this
<APPLET CODE="MyApplet.class" HEIGHT=50 WIDTH=100>

The <PARAM ...> tag in the above example simply says TEXT="Hey Dude". This method of assigning a name with one attribute and a value with another is a way of bridging the gap between the worlds of HTML and Java.

Here's what each piece means:

This is a parameter to pass to MyApplet.
The name of the parameter to pass is "TEXT"
VALUE="Hey Dude"
The value of the "TEXT" parameter is "Hey Dude".
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.