<PARAM>
This element is for supplying parameters to a JAVA applet or another object and
is only valid inside the APPLET and
OBJECT elements.
<!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 ©
World Wide Web Consortium,
(Massachusetts Institute of Technology,
Institut National de Recherche en Informatique et en Automatique,
Keio University).
All Rights Reserved."
ID
Description of the ID attribute
NAME
This indicates the name of the parameter. The applet can refer to the parameter
using this name.
TYPE
This attribute specifies the content type for the resource, when
valuetype="ref" is used.
VALUE
This is the value that is being passed to the applet.
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.
|
 |
<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>
|
|
 |
|