HTML param tag

HTML <param> tag provides the parameters for the plugins that are embedded using the object element. param element is nothing on its own.

<object src="files/start.html">
  <param name="type" value="text/html"> 
  </param>
</object>
</>

It is a parameter having name-value pair. Both attributes must be used at the same time in the param element.

In the above example, name attribute describes the parameter name (type) and value attribute describes the value of the parameter ('text/html').

Tag omission

There is no end (</param>) tag.

Global Attributes

All the global attributes are applicable on the param element.

Tag Attributes

Attributes that are applicable to <param> tag
name

name value specifies the name of the parameter for the object element.

 <object src="URL"> <param name="type" value="text/html"> </param> </object>
value

value attribute specifies the value of the parameter for the object element.

<object src="URL"> <param name="type" value="text/html"> </param> </object>


Was this article helpful?