English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML <param> element defines parameters for <object> element
Set the parameter "autoplay" to "true", the audio will play automatically after loading:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Tutorial(oldtoolbag.com)</title> </head> <body> <p><b>Attention:</b> Internet Explorer 8and earlier versions do not support .wav files. Try renaming the file to "horse.mp3" to check the use of this example in the IE version.</p> <object src="horse.wav"> <param name="autoplay" value="true"> </object> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
<param> tag is supported by most mainstream browsers. However, the file format defined by <object> is not supported by all browsers.
<param> element allows you to specify the run for the object inserted into the XHTML document-time setting, that is to say, this tag can be used for the object it contains <object> or <applet> tags provide parameters.
HTML 4.01 Attributes: "type" and "valuetype", in HTML5 Not supported in Chinese.
In HTML, the <param> tag does not have a closing tag.
In XHTML, the <param> tag must be closed correctly.
Attribute | Value | Description |
---|---|---|
name | name | Define the name of the parameter (used in scripts). |
type | MIME_type | HTML5Not supported. Define MIME type parameter. |
value | value | Describe the parameter value. |
valuetype | data ref object | HTML5 Not supported. Describe the type of the value. |
<param> tag supports global attributes, see the complete attribute table HTML Global Attributes.
<param> tag supports all HTML Event Attributes.