Versión en español

HTML param tag

Note: If you don't know what a tag is and/or how you must use it we recommend you to read our HTML tags and attributes tutorial that you can find in our HTML tutorials section.

 

Description

The HTML param tag defines a parameter to be used by an HTML object tag. These values may be used by the container object at run-time, to define initial values. They must be located right after the object start tag.

Attributes

id (name)

The "id" attribute assigns an identifier to the associated element. This identifier must be unique in the document and can be used to refer to that element.

Example:

Code begin <p id="paragraph1">This is the first paragraph named as paragraph1. To dynamically change its properties use this identifier.</p>Code end
 
 

name (cdata)

Assigns a name to the element. This name is assumed to be known by the container object (HTML object tag).
 

value (cdata)

Assigns a value corresponding to the "name" attribute. This value is meant to be interpreted by the container object (HTML object tag).
 

valuetype

Specifies the type of the "value" attribute. Possible values are:
  • data: The value will be passed to the object as a string. This is the default value.
  • ref: The value is a URI pointing to a resource with values definitions. The URI must be passed as is (i.e., unresolved).
  • object: This means that the value is an identifier ("id" attribute) referring to other object declaration in the same document.
 

type (content-type)

When the value of the attribute "valuetype" is set to "ref", this attribute defines the content type of the resource specified in the "value" attribute.
 


Events

There are no events defined for this tag.

See complete list and information about events in HTML


Examples

HTML object tag inserting a Flash animation.

Code View
<object classid= "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" id="HTMLQuick" width="88" height="31">
<param name="movie" value= "http://www.htmlquick.com/img/examples/htmlquick.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<embed src="http://www.htmlquick.com/img/examples/htmlquick.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="88" height="31"></embed>
</object>

Bypass footer options Send to a friend Send to a friend