HTML and CSS Reference
In-Depth Information
Name
embed
Synopsis
<embed> (XHTML: <embed/> or <embed /> )
Not in HTML 4.01 . Embeds an object into the web page. Embedded objects are most often
multimedia files that use plug-in technology for playback (for example, Flash movies, Quick-
Time movies, and the like). In addition to the attributes listed below, certain media types and
their respective plug-ins may have proprietary attributes for controlling the playback of the
file.
Notes
Although commonly supported by browsers, the embed element was not part of the HTML
4.01 or earlier specifications (in favor of the object element for embedded media); however,
it has been added to the HTML5. Because it was supported but not documented, it has many
browser- and media-specific attributes, and its syntax is not clear. Many developers use both
object and embed for a single media object for backward compatibility, even though it does
not conform to the standard.
Usage
Categories:
Flow content, phrasing content, embedded content, interactive content, palpable content
Permitted contexts:
Where embedded content is expected
Permitted content:
Empty
Start/end tags:
In HTML5, embed is specified as an empty element with no closing tag. Modern browsers
generally support embed with a closing tag as well.
Search WWH ::




Custom Search