English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die Attribute 'name' definiert den Namen des Elements <param>, das normalerweise zusammen mit dem Attribut 'value' verwendet wird, um die Parameter des Plugins zu spezifizieren, das durch das Element <object> definiert wird.
Setzen Sie den Parameter "autoplay" auf "true", um die Wiedergabe des Audios sofort nach dem Laden der Seite zu starten:
<!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 See ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the name attribute. However, the file format defined in <object> is not supported by all browsers.
The name attribute specifies the name of the <param> element.
This attribute is usually used together with the value attribute to specify the <object> Parameters of the plugin 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 | Parameter Name. |