HTML <param> value Attribute

HTML param Tag Reference HTML <param> tag

Example

Set the "autoplay" parameter to "true", so the sound will start playing as soon as the page loads:

<object data="horse.wav">
  <param name="autoplay" value="true">
</object>

Try it yourself »

Definition and Usage

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.


Browser Support

Attribute
value Yes Yes Yes Yes Yes

The value attribute is supported in all major browsers. However, the file format defined in <object> may not be supported in all browsers.


Differences Between HTML 4.01 and HTML5

NONE.


Syntax

<param value="value">

Attribute Values

Value Description
value The value of the parameter

HTML param Tag Reference HTML <param> tag

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: