Parameters

End Tag: Omitted
Support Key: 2 | 3 | 3.2 | 4 | IE3A1 | M | N2 | O
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
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.)

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE | M | N | O

Specific Attributes
Name
2 | 3 | 3.2 | 4 | IE3A1 | M | N2 | O
Required? Yes
Description:
This attribute identifies a symbolic name for the current parameter. It is coupled to a VALUE attribute to complete the parameter assignment.
Values: Alphanumeric characters.
Type
2 | 3 | 3.2 | 4 | IE | M | N | O
Required? No
Description:
This identifies the MIME type of the resource indicated by the VALUE attribute ONLY when the VALUETYPE attribute has a value of REF.
Values: Alphanumeric MIME type
Value
2 | 3 | 3.2 | 4 | IE3A1 | M | N2 | O
Required? No
Description:
This identifies a value for the current parameter. It is coupled to a NAME attribute to complete the parameter assignment.
Values: Alphanumeric characters
Valuetype
2 | 3 | 3.2 | 4 | IE | M | N | O
Required? No
Description:
This identifies the type of the value attribute.
Values:
DATA - [DEFAULT] The value will be passed directly to the OBJECT as a string, after embedded character entities are resolved.
REF - The value indicated by the VALUE attribute is a URL where run-time values are stored.
OBJECT - Indicates a reference internal to the document where values are stored. Value is any valid ID attribute label.
Example
[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="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>
Parent Model
<applet> | <object>
Content Model
This element does not accept any content
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...