HTML: The Markup Language

embedintegration point for plugins NEW # T

The embed element represents an integration point for external content.

Permitted content #

empty (void element)

Permitted attributes #

common attributes & src & type & height & width & Any other attribute that has no namespace

Descriptions for attributes specific to this element #

src = URI
The address of the content being embedded.
type = MIME type
The MIME type of the plugin to instantiate.
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;
};