HTML <param>
Tag
The <param>
tag is used in conjunction with the <object>
tag to specify parameters for a plugin within the <object>
element. It is used to pass data to a plugin or application embedded in a web page.
Here is an example of how the <param>
tag is used:
<object data="example.swf" type="application/x-shockwave-flash">
<param name="movie" value="example.swf">
<param name="quality" value="high">
</object>
In this example, the <object>
tag includes two <param>
tags. The first <param>
tag specifies the name of the parameter as "movie" and the value as "example.swf". The second <param>
tag specifies the name of the parameter as "quality" and the value as "high".
Main Attributes of the <param>
Tag:
Attribute | Description |
---|---|
name | Specifies the name of the parameter being passed to the plugin. |
value | Specifies the value of the parameter being passed to the plugin. |