HTML5 <param> Tag

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

No content is permitted inside the <param> tag as it is a void element. The start tag is mandatory for this element but there must be no closing tag. The parent of the <param> tag can be an <object> before any flow content.

The following style is applied to this element by default:

param {
  display: none;
}

Attributes

name

Name of the parameter.

type

Only used if the valuetype is set to "ref". Specifies the MIME type of values found at the URI specified by value.

value

Specifies the value of the parameter.

valuetype

Specifies the type of the value attribute. Possible values are:

  • data: Default value. The value is passed to the object’s implementation as a string.
  • ref: The value is a URI to a resource where run-time values are stored.
  • object: An ID of another <object> in the same document.

Reader Comments

1. You can register or login to post a comment. Asking readers to register improves the quality of discussion.

2. As a registered user, you will also get to access features like choosing between a light and dark theme or anything else that we might implement in future.

Follow Us For Updates

FacebookTwitterGoogle+
Go To Top