The XHTML WYSIWYG Editor For Desktop & Web Applications

param

Definition

The param element is used to customize embedded objects that are loaded into a Web browser via the object element. The param element is a generic way of passing data to embedded objects in the form of name/value pairs. The need for param elements and the number of param elements depends on the embedded object.

Example

  1. <p>
  2. <object type="application/x-shockwave-flash" width="600" height="400">
  3. <param name="movie" value="movies/mars.swf" />
  4. <param name="menu" value="false" />
  5. <param name="quality" value="high" />
  6. <img src="images/mars.jpg" alt="Photo: Galle Crater taken from the Mars Express spacecraft" />
  7. </object>
  8. </p>

Attributes

Basic

name
(Text) This attribute defines the name of a run-time parameter, assumed to be known by the inserted object. Whether the property name is case-sensitive or not depends on the specific object implementation. This attribute is required.
value
(Text) This attribute specifies the value of a run-time parameter specified by the name attribute. Property values have no meaning in XHTML; their meaning is determined by the object in question.

Advanced

id
(ID) Unique identifier.
type
(ContentType) This attribute specifies the content type of the resource designated by the value attribute, only in the case where valuetype attribute is set to ref.
valuetype

This attribute specifies the type of the value attribute. Possible values:

  • data: This is default value for the attribute. It means that the value specified by the value attribute will be evaluated and passed to the object's implementation as a string.
  • ref: The value specified by the value attribute is a URI that designates a resource where run-time values are stored. This allows support tools to identify URIs given as parameters.
  • object: The value specified by the value attribute is an identifier that refers to an object declaration in the same document. The identifier must be the value of the id attribute set for the declared object element.

Contains

  • Nothing

See also