X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Parameter name Property

Parameter Object Reference Parameter Object

Example

Get the name of a <param> element:

var x = document.getElementById("myParam").name

The result of x will be:

autoplay

Try it yourself »


Definition and Usage

The name property sets or returns the value of the name attribute of a parameter.

The name attribute specifies the name of a <param> element.

This 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.

Note: The <param> tag is supported in all major browsers. However, the file format defined in <object> may not be supported in all browsers.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The name property is supported in all major browsers.


Syntax

Return the name property:

parameterObject.name

Set the name property:

parameterObject.name=name

Property Values

Value Description
name Specifies the name of the parameter

Technical Details

Return Value: A String, representing the name of the parameter


Related Pages

HTML reference: HTML <param> name attribute


Parameter Object Reference Parameter Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook