From c4e793aa8c98d2a4214f459af0f70c48e07f0281 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Wed, 31 Jan 2024 18:05:16 +0100 Subject: [PATCH 1/3] fix(html): Add advice on object element with data attr instead of param element --- files/en-us/web/html/element/param/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/en-us/web/html/element/param/index.md b/files/en-us/web/html/element/param/index.md index a3a8109db4dd9fa..bcd81b7cd046c64 100644 --- a/files/en-us/web/html/element/param/index.md +++ b/files/en-us/web/html/element/param/index.md @@ -11,6 +11,9 @@ browser-compat: html.elements.param The **``** [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. + ## Attributes This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attributes). From abd4be6e5d319afc44ac1d91625e89da1d9faed4 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Thu, 1 Feb 2024 11:16:41 +0100 Subject: [PATCH 2/3] Update files/en-us/web/html/element/param/index.md Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> --- files/en-us/web/html/element/param/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/html/element/param/index.md b/files/en-us/web/html/element/param/index.md index bcd81b7cd046c64..a0f2ae0620cccf9 100644 --- a/files/en-us/web/html/element/param/index.md +++ b/files/en-us/web/html/element/param/index.md @@ -12,7 +12,7 @@ browser-compat: html.elements.param The **``** [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. +> 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. ## Attributes From 262a7a065e443cf81fbb2de3653c2ae79c8d660e Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Tue, 6 Feb 2024 10:57:10 +0100 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Dipika Bhattacharya --- files/en-us/web/html/element/param/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/html/element/param/index.md b/files/en-us/web/html/element/param/index.md index a0f2ae0620cccf9..704ff9ed23dad42 100644 --- a/files/en-us/web/html/element/param/index.md +++ b/files/en-us/web/html/element/param/index.md @@ -12,7 +12,7 @@ browser-compat: html.elements.param The **``** [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. +> 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