Set data on <object> for the resource URL (MDN’s preferred approach).
Skip <param> when you are not talking to a plugin.
Add fallback content (image or text) for when the object fails.
Prefer <img> directly for ordinary pictures.
Example 4 — Modern Media (Preferred)
Use native media elements instead of object + param for playback.
HTML
<video controls width="320" poster="/images/javascript.png">
<source src="/video/count.mp4" type="video/mp4">
Your browser does not support video.
</video>
Keep a text fallback inside the element for unsupported browsers.
Edge Cases & Pitfalls
Most param confusion comes from treating parse support as permission to keep using it.
obsolete
Still parsed ≠ still useful
Engines may keep the element for old documents. Flash and similar plugin hosts are gone, so parameters have nothing reliable to configure.
parent
Only inside object
<param> is meaningless outside <object>. Place it before any flow content in that object.
void
No end tag, no children
It is a void element. Do not write </param> or nest content inside it.
names
Not URL query params
?key=value in a URL is unrelated. The HTML element was only for object/plugin settings.
aria
No ARIA role
There is no corresponding role, and no role is permitted on <param>.
Compatibility
Browser Support
The <param> element is legacy HTML kept for old pages. It is not a Node.js, Deno, or Bun API.
✓ Deprecated
<param>
Still recognized in major browsers for backward compatibility, but obsolete for authors. Prefer video, audio, iframe, embed, or object data.
—Do not use in new work
Google ChromeLegacy
Still parses
Mozilla FirefoxLegacy
Still parses
Apple SafariLegacy
Still parses
Microsoft EdgeLegacy
Still parses
OperaLegacy
Still parses
Samsung InternetLegacy
Still parses
Internet ExplorerAll
Supported (legacy)
<param>Obsolete (use media tags)
Bottom line: Recognize param in old object markup, then replace embeds with modern media elements. Never ship new pages that depend on it.
Remember
Key Takeaways
Status:<param> is deprecated — avoid in new HTML.
Role: void child of <object> that passed name/value to plugins.
Replace with:video, audio, iframe, embed, or object data.
Not query strings: unrelated to ?key=value in URLs.
One line: recognize <param> in old <object> markup; embed media with modern tags.
UA style
Default CSS Settings
<param> is not rendered. There is no meaningful user-agent box model for authors:
default.css
param {
display: none;
}
Styling belongs on the visible host (object, or preferably video / iframe), not on param.
Frequently Asked Questions
The param element passed named parameters (name and value) to a parent object element, often for plugins such as Flash. It is a void element and is obsolete.
No. It is deprecated and listed as a non-conforming feature. Do not use it in new projects.
Only as a child of object, before any flow content inside that object. It has no meaning outside object.
Prefer video, audio, iframe, or embed for media and embeds. For object, set the resource with the data attribute instead of plugin parameters.
Browsers may still parse them for old pages, but plugins that consumed them are gone. Prefer modern media elements.
No. URL query strings (like ?id=1) are unrelated. The param element was only for object plugin settings.