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

HTML Reference Manual

HTML Tag大全

HTML param name attribute

The name attribute specifies the name of the <param> element, which is usually used together with the value attribute to specify the parameters of the plugin defined by the <object> tag.

 HTML <param> tag

Online Example

Set the "autoplay" parameter to "true" to start playing the sound immediately after the page is loaded:

<!DOCTYPE html>
<html>
<head>
<title>HTML:<param> name 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 'name' attribute. However, the file format defined in the <object> is not supported by all browsers.

Definition and Usage

The name of the <param> element specified by the 'name' attribute.

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

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

HTML 4.01 with HTML5differences

None.

Syntax

<param name="name">

Attribute value

ValueDescription
nameThe name of the parameter.
 HTML <param> tag