W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2n
2.1n

<PARAM>

Description

This element is for supplying parameters to a JAVA applet or another object and is only valid inside the APPLET and OBJECT elements.

DTD

<!ELEMENT PARAM - O EMPTY              -- named property value -->
<!ATTLIST PARAM
  id          ID             #IMPLIED  -- document-wide unique id --
  name        CDATA          #REQUIRED -- property name --
  value       CDATA          #IMPLIED  -- property value --
  valuetype   (DATA|REF|OBJECT) DATA   -- How to interpret value --
  type        %ContentType;  #IMPLIED  -- content type for value
                                          when valuetype=ref --
  >
from the HTML 4.0 DTD, "Copyright © W3C, (MIT, INRIA, Keio). All Rights Reserved."

Attributes

W3 3.2n
4.0y
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2n
2.1n
ID
Description of the ID attribute
W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2n
2.1n
NAME
This indicates the name of the parameter. The applet can refer to the parameter using this name.
W3 3.2n
4.0y
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2n
2.1n
TYPE
This attribute specifies the content type for the resource, when valuetype="ref" is used.
W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2n
2.1n
VALUE
This is the value that is being passed to the applet.
W3 3.2n
4.0y
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2n
2.1n
VALUETYPE
Specifies how to interpret the value supplied. The type can be one of these values:

Value Description
data The value is data. This is the default value type.
object The value is an identifier of another object same document, assigned with the id attribute.
ref The value is the URI of a resource that contains the values that the object must use. The type attribute specifies the content type for this resource.

Examples

Source
<APPLET code="APPLET1.class" width="300" height="50">
With a Java-enabled browser you would see an applet scrolling the
text.
<PARAM name="text" value="This is the passed value">
</APPLET>
 
Result
With a Java-enabled browser you would see an applet scrolling the text.
Statistics