HTML <param> tag
The <param> tag is used to set the settings for an object that is placed on a webpage using the <object> tag. Settings such as if it should start playing automatically (for audio objects), if their should be a control panel (for video objects), the location of the file, and more.
NOTE: The <param> tag should be placed inside of the <object> tag that you are declaring settings for.
Attributes
| Attribute | Description | Possible values |
|---|---|---|
| name | Required. Sets a name for a parameter | paramName |
| type | Specifies the MIME type of the URL set for the value attribute. Used only when the valuetype attribute is set to "ref" | mimeType |
| value | Sets the value of a parameter | paramValue |
| valuetype | Specifies the type of the value that you gave the value attribute | data (string data (default)), ref (resource URL), object (an object located in the same document) |
Standard attributes
id
For more information on standard attributes, check out our HTML standard attributes reference page.
Event attributes
NONE
For more information on event attributes, check out our HTML event attributes reference page.
Example
Tips & notes
You can place alternative content (including other objects) between the <object> and </object> tags that will be displayed if the object does not load.
Don't use the <object> tag for images, the HTML <img> tag should be used for images.