Embedding external content

embed

The embed element provides a way to embed an external app or special type of media into a web page.

Historically, this was the traditional way to embed plugins, Adobe Flash, Java applets, or ActiveX controls.

The embed element can be used by any non-standard MIME-type that requires a browser plugin. Most media can be better served using video, audio, or object elements. Refer to the "object" element for a safer way to employ non-standard MIME-types.

Properties

src
Use sourceref notation to identify the remote URL containing the embedded app.
type
The MIME-type of the resource being embedded
height
The height of the embedded app, in pixels, but specified without units.
width
The width of the embedded app, in pixels, but specified without units.

Examples

embed `sunset-in-nirvana.mov` *type=video/quicktime *width=250 *height=200
embedding a quicktime video

See also

object
The object element provides a modern way to embed external apps into a web page.

semantax > media-embed > embedEmbedding external content

🔎