<param>


HTML <param> Tag

Instance

<!DOCTYPE html>
<html>
<body>

<p><b>Note:</b> Internet Explorer 8, and earlier versions, does not support .wav files. Try to rename the file to "horse.mp3" to test the example in these versions of IE.</p>

<object data="horse.wav">
<param name="autoplay" value="true">
</object>

</body>
</html>

Run Example»

Click the "Run Instance" button to view the online instance


Browser support

1000.png

<param> tag supports most Major browsers. However, the file format defined by <object> is not supported by all browsers.


Tag definition and usage instructions

The<param> element allows you to specify run-time settings for objects inserted into XHTML documents, that is, this tag can be The <object> or <applet> tag provides parameters.


Differences between HTML 4.01 and HTML5

HTML 4.01 attributes: "type" and "valuetype" are not supported in HTML5.


Differences Between HTML and XHTML

In HTML, the <param> tag does not have a closing tag.

In XHTML, the <param> tag must be closed correctly.


Properties

PropertiesValueDescription
namename Defines the name of the parameter (used in scripts).
typeMIME_type HTML5 is not supported. Define MIME type parameters.
valuevalueDescribes the parameter value.
valuetypedata
ref
​ object
HTML5 is not supported. Describes the type of value.


Global attributes

<param> tag supports global attributes, see the complete attribute table HTML global attributes.


Event attributes

<param> tag supports all HTML event attributes.