HTML <param> tag
HTML <param> tag
The <param>
tag defines parameters for an <object> element.
The <param>
tag must be nested within an <object> tag.
Tips: To play audio use <audio> tag and to play video use <video> tag.
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<body>
<object data="/mario.mp3">
<param name="autoplay" value="true">
</object>
</body>
</html>
Attributes
The following are the attributes of <param> tag. Also try Global attributes.
Attribute | Value | Explanation |
---|---|---|
name | text | Specifies the name of the parameter. |
value | number | Specifies the value of the parameter. |
Deprecated Attributes
The following attributes should not be used in any case.
Attribute | Value | Explanation |
---|---|---|
type | media_type | Specifies the MIME type of the parameter. Used only if valuetype attribute is set to href. |
valuetype |
| Specifies the type of the value attribute. |
Reminder
Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in HTML.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.