English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The name attribute specifies the name of the <param> element, which is usually used together with the value attribute to specify the parameters of the plugin defined by the <object> tag.
Set the "autoplay" parameter to "true" to start playing the sound immediately after the page is loaded:
<!DOCTYPE html> <html> <head> <title>HTML:<param> name attribute - Basic Tutorial Website(oldtoolbag.com)/title> </head> <body> <object data="horse.wav"> <param name="autoplay" value="true"> </object> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the 'name' attribute. However, the file format defined in the <object> is not supported by all browsers.
The name of the <param> element specified by the 'name' attribute.
This attribute is usually used together with the 'value' attribute to specify the <object> parameters specified by the tag.
The value of the 'name' attribute can be any name supported by the specified object.
None.
<param name="name">
Value | Description |
---|---|
name | The name of the parameter. |