This is an important message requiring you to make a choice if you're based in the EU.

HTML <param> Tag

The <param> tag passes the parameters to the objects (Java applets or multimedia content) embedded with the <applet>, <object>, <audio> and <video> elements.

There can be used one or more <param> tags. For each of them we set "name-value" pair with the name and value attributes.


<[applet | object | audio | video]>
  <param name="..." value="...">
</[applet | object | audio | video]>

The closing tag (</param>) is not necessary in HTML. In XHTML the tag should be closed.


<!DOCTYPE html>
    <title>The title of the document</title>
    <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">


Attribute Value Description
name name Sets the name of the parameter. Is used with value attribute
type media_type Specifies the media type of the parameter
Not supported in HTML5.
value value Sets the value of the parameter. Is used along with name attribute.
valuetype Sets the type of the value
data The value is passed to the object's implementation as a string (default value) .
object An ID of another <object> in the same document
ref The value is a URI to a resource where run-time values are stored.
Not supported in HTML5.

The <param> tag also supports the Global attributes and the Event Attributes.

Browser support

Do you find this helpful?

Related articles