Table of contentsBypass table of contents
The HTML param element is used define variables for external applications (inserted using the HTML object element) like applets, flash movies, etc. These variables are supposed to be accessed and understood by the object's implementation.
For example, param variabled can define the quality in a flash movie or the initial time in a clock applet.
A "param" variable is basically defined usign the "name" and "value" attributes. This way a variable recives a name through which it can be identified by the program and provide its value.
In the following example two flash movies are inserted using the HTML object element. Different values are given to the same variables in each movie to see how this affects the object. For example, the first movie doesn't loop and shows a basic menu when the user right-clicks the movie, while the second provides a full menu.
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 in other instances (e.g., from client-side scripts).
This attribute provides a name to the variable that's supposed to be known by the application. The case-sensitivity requirement of this value depends on the application.
The "value" attribute assigns a value to the variable. The value syntaxis depends on the application's requirements.
Specifies the type of the data in the "value" attribute. Possible values are:
When the value of the "valuetype" attribute is set to "ref", this attribute specifies the type of the resource pointed in the "value" attribute.
This element doesn't support events.
See a complete list and information about events in HTML.
Diseño y desarrollo: Latitud29.com