<param>
param tag
The <param> tag in HTML specifies parameters for <object>, <applet>, or <embed> elements. It provides initialization values or configuration settings for embedded content like multimedia players, plugins, or Java applets.
Syntax
<object data="movie.swf" type="application/x-shockwave-flash">
<param name="autoplay" value="true">
<param name="loop" value="false">
</object>
param Demo
Steve Jobs' Commencement address at Stanford
<p>Steve Jobs' Commencement address at Stanford</p>
<object width="320" height="240" data="https://www.youtube.com/embed/bZNEB_o3Hzw?ecver=2">
<param name="autoplay" value="true">
</object>
Attributes
This element includes global attribute.
name: Specifies the name of the parameter (e.g., "autoplay", "quality").type: Used whenvaluetypeis set to "ref"; defines the MIME type of the resource at the URI specified in the value.value: Represents the parameter's assigned value.valuetype: Determines the type of the value attribute. Possible values include:
See also
Conclusion
The <param> tag in HTML is used to define parameters for <object>, <applet>, or <embed> elements, providing configuration values for embedded content like media players or plugins. It includes attributes like name and value to pass specific settings such as autoplay or loop behavior.
<object>
The HTML <object> element inserts external content like multimedia or interactive elements into a webpage and can display fallback content if the resource fails to load.
<portal>
The <portal> element is not included in the official HTML specification. Instead, you can use <iframe> or web components to embed external content or create interactive sections within a webpage.