CodesJava

Easy learning with example program codes

Param HTML

HTML <param> Tag

To pass the parameters to plugin included with the <object> tag, the HTML <param> tag is used with the HTML <object> tag. Multiple <param> tag can be used within an <object> element.

Syntax:

<param name=" " value="">

Example:

<!DOCTYPE html>
<html>
<body>
<p>Example:</p>
<object data="peacock.wav">
<param name="autoplay" value="true">
</object>
</body>
</html>

Output:

Explanation:

In the above example, we are using the HTML <param> tag with the HTML <object> tag to pass the parameters to plugin.

Tag-specific attributes:

AttributeValueUsesHTML 5
namenameUsed to indicate the name of a parameter.
typemedia_typeUsed to indicate the media type of a parameter.Not supported in HTML5.
valuevalueUsed to indicate the value of a parameter.
valuetypedata

ref

object

Used to indicate the type of the value of a parameter.Not supported in HTML5.

Global attributes:

The HTML global attributes are supported by the HTML <param> tag.

Event attributes:

The HTML event attributes are supported by the HTML <param> tag.

Supporting Browsers:

Chrome, IE, Firefox, Opera and Safari.

Please follow and like us:
error
Posted in HTML   









Copyright © 2019 CodesJava DMCA.com Protection Status