HTML <param> Tag

Advertisements


Description

The HTML <param> tag is used for passing parameters to an embedded object using <object> tag.

Example

You can specify some parameters related to the document with the tag. Here is an example to embed a wav file:

<!DOCTYPE html>
<html>
<head>
<title>HTML param Tag</title>
</head>
<body>
<object title="Test Object." classid="java.class">
  <param name="audio" value="music.wav" />
  <param name="width" value="600" />
  <param name="height" value="400" />
</object>
</body>
</html>

This will produce following result:

Global Attributes

This tag supports all the global attributes described in - HTML Attribute Reference

Specific Attributes

The HTML <param> tag also supports following additional attributes:

AttributeValueDescription
name parameter typeDefines a unique name for the parameter.
type MIME typeSpecifies the internet media type for the parameter.
value valueSpecifies the value of the parameter.
valuetype data
ref
object
Specifies the MIME type of the value.

Event Attributes

This tag supports all the event attributes described in - HTML Events Reference

Browser Support

ChromeFirefoxIEOperaSafariAndroid
YesYesYesYesYesYes

html_tags_reference.htm

Advertisements