The name attribute on a <param> tag assigns a name to that parameter.
Together with the value attribute they specify the parameter‘s name/value pair.
A name attribute on a <param> element.
This attribute represents the name of the parameter. Here is specifies the media type of the embedded object.
<object data="/media/contract.pdf" style="width:100%;height:500px;">
<param name="type" value="application/pdf" />
</object>
The name attribute specifies the object parameter (<param>) element name.
This attribute is used together with value attribute to specify the parameter used on the <object> element.
<param name="name">
Value | Description |
---|---|
name | String value. The parameter name. |
Here is when name 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 |
Back to <param>