HTML Param Tag
Reference on the param Element of HTML. Includes useful Example, and allowed attributes.
The Param Element of HTML, is used to define parameters for the HTML Object Element, which is used as an replacement of the now deprecated applet Element.
Attributes
Standard Attributes
| Attribute: | Value: | Description: | DTD: |
| id | Id | Unique id, may begin with [A-Za-z] and may be followed by any number of [A-Za-z], [0-9], underscores, hyphens, colons, and periods. | STF |
| name | Character Data | This is used in scripts, to identify the element, when submitted through a form. | STF |
| value | Character Data | Specifies a run-time value of a parameter specified by name. | STF |
| valuetype | DATA|REF|OBJECT | Specifies the type of the value attribute, default value is DATA. | STF |
Example
<object type="application/x-shockwave-flash" data="Player.swf?path=Video.swf" style="width:320px;height:240px;"> <param name="movie" value="Player.swf?path=Video.swf"> </object>
Above would embed a video in a webpage, see also: Streaming Video in HTML Pages