HTML <param> name Attribute

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.

Example

#

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>

Using name

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.


Syntax

<param name="name">

Values

#

Value Description
name String value. The parameter name.

Browser support

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

You may also like

 Back to <param>
Guides