The HTML <embed> Element represents an integration point for an 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).
Overview TableAuthors should ensure that the information and user interface components must be presentable to users in ways they can perceive (WCAG 2.0 - Principle 1: Perceivable). This includes providing alternatives for time-based media Guideline 1.2.
HTML Attributessrc
= URL potentially surrounded by spacestype
= MIME typewidth
= non-negative integerheight
= non-negative integerWhile only being formalized as of HTML5, the tag has been informally supported among some user-agents as far back as Netscape Navigator 2.0 [1]
ExamplesThe following use of the EMBED element mimics the behavior of the BGSOUND tag.
<EMBED type="audio/x-midi" src="BackInTheSaddle.mid" hidden="true">
Way to embed a resource that requires a proprietary plugin, like Flash.If the user does not have the plugin (for example if the plugin vendor doesn’t support the user’s platform), then the user will be unable to use the resource.
<Embed src="catgame.swf">
To pass the plugin a parameter “quality” with the value "high", an attribute can be specified:
<Embed src="catgame.swf" quality="high">
Usage
The interactive element embed must not appear as a descendant of the a element.
The interactive element embed must not appear as a descendant of the button element. The name attribute on the embed element is obsolete. Use the id attribute instead. The align attribute on the embed element is obsolete. Use CSS instead. The hspace attribute on the embed element is obsolete. Use CSS instead. The vspace attribute on the embed element is obsolete. Use CSS instead.
Notes RemarksThe EMBED element must appear inside the BODY element of the document. Users need to have an application that can view the data installed on their computer. **Tip: ** In some cases, you may achieve better results by adding the file name extension of the add-on as a query parameter to the file name specified in the SRC attribute.
Permitted attributes - global attributes,& src ,& type, & height, & width, & Any other attribute that has no namespace.
Permitted parent elements Any element that can contain phrasing elements
Related specificationsEMBED
EMBED
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4