TAG:  param

<param>
Available in versions: 3.2, 4.0
Browser compatibility: Explorer 4, 5  Netscape 6
 
The <param> tag is used to set the name/value pair that provides a parameter required by a Java object in an applet tag or by some object in an object tag. Each param tag can provide only one parameter. However, there can be any number of parameters (from zero to many). These parameters, including the name and acceptable range of values (defaults, etc.), are established by the author of the applet or object. For example, they could set the color of the applet.
 
This tag is placed immediately after the opening applet or object tag. There is no closing tag.
 
Core Attributes
 
id   
 
Attributes
 
name
The name attribute is the name portion of the name/value pair. You must provide a value for this attribute. The exact value (spelling, etc.) of the name will be determined by the author of the applet or object.
 
type
The type attribute defines the MIME media type of the value when the valuetype attribute is set to ref.
 
value
The value attribute provides the value required by the parameter for the name/value pair. You must provide a value for this parameter.
 
valuetype
The valuetype attribute defines the type of the value. There are three permitted values data, object, and ref. The default is data. The ref is the URL source that contains the value.
 
Code:
<applet codebase="clock/classes" code="JavaClock.class" width="150" height="150">
<param name="timezone" value="eastern">
</applet>

 
Output:


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information