W3cubDocs

/Web APIs

Document: embeds property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨June 2018⁩.

The embeds read-only property of the Document interface returns a list of the embedded <embed> elements within the current document.

Value

An HTMLCollection.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
embeds 36
1–36Only supported for HTMLDocument, not all Document objects.
12 61
1–61Only supported for HTMLDocument, not all Document objects.
51
≤12.1–51Only supported for HTMLDocument, not all Document objects.
10.1
2–10.1Only supported for HTMLDocument, not all Document objects.
36
18–36Only supported for HTMLDocument, not all Document objects.
61
4–61Only supported for HTMLDocument, not all Document objects.
47
≤12.1–47Only supported for HTMLDocument, not all Document objects.
10.3
1–10.3Only supported for HTMLDocument, not all Document objects.
3.0
1.0–3.0Only supported for HTMLDocument, not all Document objects.
37
4.4–37Only supported for HTMLDocument, not all Document objects.
10.3
1–10.3Only supported for HTMLDocument, not all Document objects.

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds