HTML <param> tag

By Jonathan Griffin. Editor, SEO Consultant, & Developer.

· 1 min read

Definition

The <param> tag is used to specify parameters for an <object> element.

Example

<object
  type="video/webm"
  data="https://file-examples-com.github.io/uploads/2020/03/file_example_WEBM_1920_3_7MB.webm"
  width="250"
  height="200"
>
  <param name="autoplay" value="false" />
</object>

Usage

  • THe <param> element is used to control an <object> element in some way by passing a parameter to a browser plugin. The example passes a <param> of autoplay to enable the video to start playing on page load automatically.
  • It is an empty element. A start tag is required, with no closing tag.
  • Both the name and value attributes must be present.
  • The <param> element must be a child of a <object> element.

Attributes

The <param> element supports the Global Attributes, as well as the following:

Specification

Browser Support

Desktop

ChromeEdgeFirefoxIEOperaSafari
YesYesYesYesYesYes

Mobile

Android WebviewChrome AndroidFirefox AndroidOpera AndroidiOS SafariSamsung Internet
YesYesYesYesYesYes