In this article, we define a parameter for an object by using the <param> tag in the document. In HTML, <param> tag is used to define the parameter for plug-ins which is associated with element. It does not contain the end tag.
Syntax:
<param name="" value="">
Example: The following example demonstrates the “param” element for an object.
html
<!DOCTYPE html> <html> <head> <title> How to define a parameter for an object using HTML? </title> <style> body { text-align: center; } h1 { color: green; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h2> HTML5: How to define a parameter for an object? </h2> <object data="video.mp4"> <param name="autoplay" value="true"> </object> </body> </html> |
chevron_right
filter_none
Output:

Supported Browsers:
- Google Chrome
- Internet Explorer
- Firefox
- Opera
- Safari
Recommended Posts:
- HTML | DOM Parameter Object
- How to define an embedded object in HTML5 ?
- HTML | DOM Parameter value Property
- HTML | DOM Parameter name Property
- How to define a table caption using HTML ?
- How to define preformatted text using HTML ?
- How to define a container for an external (non-HTML) application using HTML5?
- HTML DOM customElements define() Method
- Passing a function as a parameter in JavaScript
- How to add a parameter to the URL in JavaScript ?
- JavaScript | Pass string parameter in onClick function
- How to get the javascript function parameter names/values dynamically?
- How to set a default parameter value for a JavaScript function ?
- How to pass an array as a function parameter in JavaScript ?
- How to create default function parameter in PHP?
- Fabric.js | Ellipse opacity Parameter
- JavaScript SyntaxError - Redeclaration of formal parameter "x"
- JavaScript SyntaxError - Malformed formal parameter
- How to Pass Image as a parameter in JavaScript function ?
- How to define marked/highlighted text using HTML5 ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


