Skip to content

Commit

Permalink
Deprecate the param element and HTMLParamElement API
Browse files Browse the repository at this point in the history
whatwg/html@04a11f2
(whatwg/html#7816) obsoletes the HTML “param”
element and the HTMLParamElement API

Related BCD change: mdn/browser-compat-data#15955
  • Loading branch information
sideshowbarker committed Apr 22, 2022
1 parent 0872b73 commit b35006d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
1 change: 0 additions & 1 deletion files/en-us/web/api/html_dom_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ These interfaces represent specific HTML elements (or sets of related elements w
- {{DOMxRef("HTMLOptionElement")}}
- {{DOMxRef("HTMLOutputElement")}}
- {{DOMxRef("HTMLParagraphElement")}}
- {{DOMxRef("HTMLParamElement")}}
- {{DOMxRef("HTMLPictureElement")}}
- {{DOMxRef("HTMLPreElement")}}
- {{DOMxRef("HTMLProgressElement")}}
Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/htmlparamelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ tags:
- HTML DOM
- Interface
- Reference
- Deprecated
browser-compat: api.HTMLParamElement
---
{{ APIRef("HTML DOM") }}
{{ APIRef("HTML DOM") }}{{Deprecated_Header}}

The **`HTMLParamElement`** interface provides special properties (beyond those of the regular {{domxref("HTMLElement")}} object interface it inherits) for manipulating {{HTMLElement("param")}} elements, representing a pair of a key and a value that acts as a parameter for an {{HTMLElement("object")}} element.

Expand Down
15 changes: 4 additions & 11 deletions files/en-us/web/html/element/param/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ slug: Web/HTML/Element/param
tags:
- Element
- HTML
- HTML embedded content
- Reference
- Web
- Deprecated
browser-compat: html.elements.param
---

{{HTMLRef}}
{{HTMLRef}}{{Deprecated_Header}}

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

Expand Down Expand Up @@ -67,13 +67,10 @@ The **`<param>`** [HTML](/en-US/docs/Web/HTML) element defines parameters for an

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

- {{htmlattrdef("name")}}
- {{htmlattrdef("name")}} {{deprecated_inline}}
- : Name of the parameter.
- {{htmlattrdef("value")}}
- {{htmlattrdef("value")}} {{deprecated_inline}}
- : Specifies the value of the parameter.

### Deprecated attributes

- {{htmlattrdef("type")}} {{deprecated_inline}}
- : Only used if the `valuetype` is set to `ref`. Specifies the MIME type of values found at the URI specified by value.
- {{htmlattrdef("valuetype")}} {{deprecated_inline}}
Expand All @@ -84,10 +81,6 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib
- `ref`: The value is a URI to a resource where run-time values are stored.
- `object`: An ID of another {{HTMLElement("object")}} in the same document.

## Examples

Please see the {{HTMLElement("object")}} page for examples on `<param>`.

## Specifications

{{Specifications}}
Expand Down
1 change: 0 additions & 1 deletion files/jsondata/GroupData.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@
"HTMLOptionsCollection",
"HTMLOutputElement",
"HTMLParagraphElement",
"HTMLParamElement",
"HTMLPictureElement",
"HTMLPreElement",
"HTMLProgressElement",
Expand Down

0 comments on commit b35006d

Please sign in to comment.