Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(html): Add advice on object element with data attr instead of param element #32031

Merged
merged 3 commits into from
Feb 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions files/en-us/web/html/element/param/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ browser-compat: html.elements.param

The **`<param>`** [HTML](/en-US/docs/Web/HTML) element defines parameters for an {{HTMLElement("object")}} element.

> **Note:**
> It's recommended to use the {{HTMLElement("object")}} element with a [data attribute](/en-US/docs/Web/HTML/Element/object#data) to set the URL of an external resource instead.
bsmth marked this conversation as resolved.
Show resolved Hide resolved

## Attributes

This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attributes).
Expand Down
Loading