HTML Reference Guide


Tag Index| Content List| HTML FAQ

<PARAM> ... </PARAM> PARAMETERS

Description:

The PARAM element is used to pass values to an embedded OBJECT (usually an embedded program) or to an embedded Java APPLET. In both situations PARAM serves the same purpose and has almost the same implementation (mostly because the official OBJECT with PARAM usage was meant to absorb the APPLET with PARAM functionality.)

Attributes:

name - This attribute identifies a symbolic name for the current parameter. It is coupled to a VALUE attribute to complete the parameter assignment.

type - This identifies the MIME type of the resource indicated by the VALUE attribute ONLY when the VALUETYPE attribute has a value of REF.

value - This identifies a value for the current parameter. It is coupled to a NAME attribute to complete the parameter assignment.

valuetype - This identifies the type of the value attribute.

Example code:

Applet usage:

<applet CODEBASE="http://www.foo.com/java/" CODE="javaexample.class" WIDTH=200 HEIGHT=300><param NAME=text1 VALUE="Example Text 1"><param NAME=imagecaption VALUE="Image Caption"><param NAME=bounceimage VALUE="bounce1.gif"><img SRC="../../cc/html/non_java_image.gif" WIDTH=200 HEIGHT=300 BORDER=0 ALT="You are missing the full Java Experience."></applet>

Object usage:

<object CODETYPE="application/java-vm" CODEBASE="http://www.foo.com/applet.class" CLASSID="java:program.start" HEIGHT="100" WIDTH="100"><param NAME="options" VALUE="xqz"> If you can read this you are too close.<br> AND your browser does not support Java.</object>

Result:

Applet usage:
You are missing the full Java Experience.

Object usage:

If you can read this you are too close.
AND your browser does not support Java.

See Also: