ⓘ embed – integration point for plugins NEW # T
The
embed
element
represents an integration point for external content.
Additional constraints and admonitions #
-
The interactive element embed must not
appear as a descendant of the a element.
-
The interactive element embed must not
appear as a descendant of the button element.
-
The name attribute on the embed element is obsolete.
Use the id attribute instead.
-
The align attribute on the embed element is obsolete.
Use CSS instead.
-
The hspace attribute on the embed element is obsolete.
Use CSS instead.
-
The vspace attribute on the embed element is obsolete.
Use CSS instead.
Permitted parent elements #
any element that can contain
phrasing elements
Details #
The
embed
element
represents an integration point for external content —
typically, non-HTML content such as an application or some
other type of interactive content which involves use of a
third-party plugin as a handler (rather than being natively
supported by the UA).
DOM interface #
interface HTMLEmbedElement : HTMLElement {
attribute DOMString src;
attribute DOMString type;
attribute DOMString width;
attribute DOMString height;
};