HTML <param> tag

HTML <param> tag : Definition


• The HTML <param> tag is basically used for defining parameters of an <object> element that is <embedded> using <object> element.

• The <param> tag does not contains the end tag.


Html <param> tag example

<!DOCTYPE html>
<html>
<body>
	<object data="try_it/media/tiger-roar.mp4">
	



	  <param name="autoplay" value="true">
	</object>
</body>
</html>


Output :


 
	


 


Attributes

The HTML <param> tag also supports the following 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
ref
object
Specifies the MIME type of the value.