Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY CYBERSECURITY DATA SCIENCE
     ❯   

HTML <param> value 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 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.


Syntax

<param value="value">

Attribute Values

Value Description
value The value of the parameter

❮ HTML <param> tag