HTML param - how to use <param> tag

The HTML <param> tag is used to define various parameters for embedded plugins. Plugins are embedded using the object tag.

The name attribute of the param defines the actual parameter and the value attribute defines the value of the parameter.


The param tag supports the global and event attributes.

Defines the name of the parameter
Defines the value of the parameter


<object data="file.wav"> <param name="autoplay" value="true" /> <param name="width" value="400" /> <param name="height" value="200" /> </object>

Related HTML tags:

  • <object> - used to insert plugins in a page
  • <embed> - used to insert a container for an external application like flash