English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag Catalog

HTML param value attribute

The value attribute specifies the value of the <param> element. This attribute is usually used together with the name attribute to define the parameters of the plugin specified by the <object> tag.

 HTML <param> tag

Online Example

Set the "autoplay" parameter to "true" so that the sound will automatically start playing when the page is loaded:

<!DOCTYPE html>
<html>
<head>
<title>HTML:<param> value attribute - Basic Tutorial Website(oldtoolbag.com)/title>
</head>
<body>
<object data="horse.wav">
<param name="autoplay" value="true">
</object>
</body>
</html>
Test and see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the value attribute. However, the file format defined in the <object> is not supported by all browsers.

Definition and Usage

The value attribute specifies the value of the <param> element.

This attribute is usually used with the name attribute to specify the <object> parameters specified by the tag.

The value of the value attribute can be any value supported by the specified object.

HTML 4.01 and HTML5differences between

None.

Syntax

<param value="value">

Attribute value

ValueDescription
valueThe value of the parameter.
 HTML <param> tag