HTML reference
param
The obsolete <param> element passed configuration values to plugins embedded with <object>. It is historical knowledge and should not be used in new pages.
What you will learn
- What
paramwas used for - Why plugin-dependent content is no longer a good foundation
- Which modern element fits common media and embedding needs
Historical example
<object data="old-player.swf">
<param name="autoplay" value="true">
</object>Older plugins read the name/value pairs, but plugin support created security, accessibility, and compatibility problems. Modern browsers do not provide a reliable general plugin model for this pattern.
Modern alternatives
- Use
<video>and<audio>for media, with captions and accessible controls. - Use
<iframe>for an intentionally embedded document and give it a usefultitle. - Use ordinary HTML, CSS, and JavaScript for interface behavior.