jump

HTML 5: The Markup Language (ARIA Edition)

embedintegration point for plugins NEW # T

The embed element represents an integration point for external content.

Permitted contents #

empty (void element)

Permitted attributes #

global attributes & src & type & height & width & Any other attribute that has no namespace
global attributes
Any attributes permitted globally.
src = non-empty URL potentially surrounded by spaces #
The address of the content being embedded.
type = MIME type #
The MIME type of the plugin to instantiate.
A string that identifies a valid MIME media type as defined in [RFC 2046].
height = non-negative integer #
The height of the embedded content, in CSS pixels.
width = non-negative integer #
The width of the embedded content, in CSS pixels.

Additional constraints and admonitions #

Tag omission #

The embed element is a void element. An embed element must have a start tag but must not have an end tag.

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;
  legacycaller any (any... arguments);
};

Typical default display properties #

embed:focus {
outline: none; }