Skip to content

Commit

Permalink
fix(html): Add advice on object element with data attr instead of par…
Browse files Browse the repository at this point in the history
…am element (mdn#32031)

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

* Update files/en-us/web/html/element/param/index.md

Co-authored-by: skyclouds2001 <[email protected]>

* Apply suggestions from code review

Co-authored-by: Dipika Bhattacharya <[email protected]>

---------

Co-authored-by: skyclouds2001 <[email protected]>
Co-authored-by: Dipika Bhattacharya <[email protected]>
  • Loading branch information
3 people authored Feb 6, 2024
1 parent d8a5256 commit 442f8fc
Showing 1 changed file with 3 additions and 0 deletions.
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:**
> Use the {{HTMLElement("object")}} element with a [`data`](/en-US/docs/Web/HTML/Element/object#data) attribute to set the URL of an external resource.
## Attributes

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

0 comments on commit 442f8fc

Please sign in to comment.