HTML - <param> Tag



The HTML <param> tag is used for passing parameters to an embedded object using <object> tag.


You can specify some parameters related to the document with the <param> tag. Here is an example to embed a wav file −

<!DOCTYPE html>

      <title>HTML param Tag</title>

      <object title = "Test Object." classid = "java.class">
         <param name = "audio" value = "music.wav" />
         <param name = "width" value = "600" />
         <param name = "height" value = "400" />


Global Attributes

This tag supports all the global attributes described in − HTML Attribute Reference

Specific Attributes

The HTML <param> tag also supports the following additional attributes −

Attribute Value Description
name parameter type Defines a unique name for the parameter.
type MIME type Specifies the internet media type for the parameter.
value value Specifies the value of the parameter.
valuetype data
Specifies the MIME type of the value.

Event Attributes

This tag supports all the event attributes described in − HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes