What Is "embed" Element?

This section describes what is HTML 'embed' element - A non-standard HTML element (not in HTML 4 standard, but in HTML 5 standard draft) that can be used to embed an external (typically non-HTML) application or interactive content inside a HTML document.

What Is <embed> Element? <embed> is not an HTML 4 element according to the official specification. But it is included in the HTML 5 draft version.

Even it is not an official HTML 4 element, <embed> is still widely supported by current Web browsers with different behaviors.

Before looking how different Web browsers behave differently today, let's look at what is proposed in HTML 5 on the <embed> element first.

Here is the short description of <embed> in HTML 5 specification draft: "The EMBED element represents an integration point for an external (typically non-HTML) application or interactive content."

Here is the DOM (Document Object Model) definition of <embed> in HTML 5:

interface HTMLEmbedElement : HTMLElement {
   attribute DOMString src;    - URI of the resource being embedded
   attribute DOMString type;   - content type of resource
   attribute DOMString width;  - override width
   attribute DOMString height; - override height
};

Note that:

For more details on <embed> specification, read the W3C Working Draft of HTML 5 at: http://dev.w3.org/html5/spec/Overview.html.

Last update: 2014.

Table of Contents

 About This Book

 Introduction of Adobe Flash

 Adobe Flash Player Plugin for Firefox

 Adobe Flash Player Plugin for Chrome

 Adobe Flash Player Plugin for Safari

 Adobe Flash Player ActiveX for IE

 Using "object" Elements for Flash Files

Using "embed" Elements for Flash Files

What Is "embed" Element?

 Displaying Images as "embed" Elements - Example

 Displaying Images as "embed" Elements on Firefox 26

 Displaying Images as "embed" Elements on IE 10

 Playing Flash as "embed" Elements - Example

 Playing Flash as "embed" elements on Firefox 26

 Playing Flash as "embed" Elements on IE 10

 Playing Flash with Nested "object.embed" Elements

 "mp3player" - MP3 Music Player

 SWFObject - Hidding "object" behind JavaScript

 Flash Player Projector

 SWFTools - SWF File Manipulation Tools

 SWFC Script to Generate Flash SWF Files

 ActionScript Embedded in SWFC Script

 AS3Compile - ActionScript 3 Compiler

 Adobe Flex SDK 4

 SWF File Struture and Tags

 SWF File Processing Rules

 SWF Files for Video and Audio Streams

 Outdated Tutorials

 References

 PDF Printing Version