THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <param> name Attribute

❮ 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 name attribute specifies the name of a <param> element.

This 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.


Browser Support

Attribute
name Yes Yes Yes Yes Yes

The name 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 name="name">

Attribute Values

Value Description
name The name of the parameter

❮ HTML <param> tag