Last Updated on April 26, 2023 by Roshan Parihar
HTML param tag is used to pass the parameters to embed an object for the object element. The parameters can be a location of the object to embed.
1 2 3 4 5 |
<object> <param name="" value=""> <param name="" value=""> ... </object> |
This is the example for html object tag that contains the audio file to show with controls.
1 2 3 |
<object data="../media/peacock.wav"> <param name="autoplay" value="true"> </object> |
Output
This is the example for object tag that contains the video file to show with controls.
1 2 3 |
<object data="../media/birdreaction.mp4"> <param name="autoplay" value="true"> </object> |
Output
See HTML video tag to see details about how to include the video inside the web pages.