|
|
The <param> tag in HTML is used to define a parameter for plug-ins that are associated with <object> element. It does not contain the end tag. The Definition and UsageThe Browser SupportThe
Attributes
Global AttributesThe <param> tag also supports the Global Attributes in HTML. Event AttributesThe |
<object data="horse.wav">
<param name="autoplay" value="true">
</object>
Most browsers will display the <param> element with the following default values.
<style>
param {
display: none;
}
</style>
<object data="horse.wav">
<param name="autoplay" value="true">
</object>
The name attribute specifies the name of a <param> element.
The name attribute is used together with the value attribute to specify parameters for the plugin specified with the <object> tag.
The name attribute value can be any name supported by the specified object.

The name attribute is supported in all major browsers. However, the file format defined in <object> may not be supported in all browsers.
<param name="name">
| Value | Description |
|---|---|
| name | The name of the parameter |
It sets the "autoplay" parameter to "true", so the sound will start playing as soon as the page loads:
<!DOCTYPE html>
<html>
<body>
<h1>The param element</h1>
<object data="horse.wav">
<param name="autoplay" value="true">
</object>
</body>
</html>
The value attribute specifies the value of a <param> element.
This attribute is used together with the name attribute to specify parameters for the plugin specified with the <object> tag.
The value can be any value supported by the specified object.

The value attribute is supported in all major browsers. However, the file format defined in <object> may not be supported in all browsers.
<param value="value">
| Value | Description |
|---|---|
| value | The value of the parameter |
It sets the "autoplay" parameter to "true", so the sound will start playing as soon as the page loads:
<!DOCTYPE html>
<html>
<body>
<h1>The param element</h1>
<object data="horse.wav">
<param name="autoplay" value="true">
</object>
</body>
</html>
| html param |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference