HTML <param> Tag

Description

The <param> HTML element is intended for passing parameter values ​​to Java applets or web page objects created using the <applet> or <object> elements. This approach allows you to directly change the characteristics of the object directly in the HTML document code without additional compilation. The number of simultaneously used <param> elements can be more than one, and for each of them a "name = value" pair is specified through the name and value attributes.

Properties

Permitted Parents
An <object> before any flow content
Content
None. It is an empty element.
Start/End Tags
Start tag: required, End tag: forbidden

Example

<object title="Elevator" classid="elevator.class">
<param name="audio" value="elev.au">
<param name="width" value="200">
<param name="height" value="100">
</object>

Attributes

Attribute Definition
name Defines the name of the parameter.
value Specifies the value of the parameter.
type Specifies content type of the resource specified by the value attribute, but only where valuetype is set to "ref".

Global Attributes

The <param> tag also supports the Global Attributes in HTML5

Event Attributes

The <param> tag also supports the Event Attributes in HTML5

Browser Support

The following table will show you the current browser support for the HTML <param> tag.

Desktop
Edge Chrome Firefox Opera Safari
?????
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
??????

Last updated by CSSPortal on: 30th March 2024