HTML <param> value Attribute

The value attribute on a <param> tag sets the value of the parameter. Together, the name and value attributes specify parameter values for an <object> element. The value is an alphanumeric string.

Example

#

A value attribute on a <param> element.
The parameter value identifies the embedded object as a PDF document.

<object data="/media/contract.pdf" style="width:100%;height:450px;">
   <param name="type" value="application/pdf" />
</object>

Using value

The value attribute specifies the value of an object parameter.

The name and value attributes specify object parameter values for the object control.


Syntax

<param value="value">

Values

#

Value Description
value An alphanumeric string.

Browser support

Here is when value support started for each browser:

Chrome
1.0 Sep 2008
Firefox
1.0 Sep 2002
IE/Edge
1.0 Aug 1995
Opera
1.0 Jan 2006
Safari
1.0 Jan 2003

You may also like

 Back to <param>
Guides