From 442f8fc02289ae9f1b802a745bcdc2955099a903 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Tue, 6 Feb 2024 10:59:00 +0100 Subject: [PATCH] fix(html): Add advice on object element with data attr instead of param element (#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 <95597335+skyclouds2001@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Dipika Bhattacharya --------- Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Co-authored-by: Dipika Bhattacharya --- 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..704ff9ed23dad42 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:** +> 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).