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.

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.


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.


Syntax

<param name="name">

Attribute Values

Value Description
name The name of the parameter

❮ HTML <param> tag
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.