HTML Param Tag: Definition and Usage

HTML <param> Tag: Defining Parameters for Objects

The <param> tag defines parameters for an <object> element. It allows you to pass information to the object, such as settings or initial values.

Key Attribute: name

The name attribute specifies the name of the parameter. In the example below, the parameter name is “property”.

Example:

<div> <param name="property" value="objA"></div>

Usage Notes:

  • The <param> tag must be placed inside an <object> element.
  • The value attribute specifies the value of the parameter.
  • The name and value attributes are essential for defining the parameter.

Browser Compatibility

The <param> tag is widely supported across modern browsers.