Embed

End Tag: Required
Support Key: 2 | 3 | 3.2 | 4 | IE3B2 | M | N1.1 | O3
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
The EMBED element is the method used to integrate Netscape Plug-In technology into a web page. The element has three mandatory attributes [HEIGHT, SRC, and WIDTH] but it is extensible in that it allows any number of additional custom attributes that are dependent on the Plug-In used.

The browser should first try to determine which Plug-In to use based on the file extension of the file in the SRC attribute. If it can not determine what Plug-In to use, it will then query the user to determine what to do.
Note:
There does not appear to be any official references on this element anywhere. I have pieced this page together from many different sources and it may not be complete. Also: Some examples in use that I have seen treat EMBED as a stand-alone element (no closing tag used) but I have seen one or two references to this element needing a closing tag. I treat the EMBED element as a container here in these pages. Keep this ambiguity in mind when authoring and be sure to verify the functionality of your pages when using EMBED.

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE4 | M | N | O
Details: TITLE and ID are not supported in IE.
%Events%
2 | 3 | 3.2 | 4 | IE | M | N | O
%Language%
2 | 3 | 3.2 | 4 | IE4 | M | N | O

Specific Attributes
Height
2 | 3 | 3.2 | 4 | IE3B2 | M | N1.1 | O3
Required? Yes
Description:
Specifies the height of the embedded component on the screen.
Values:
Indicates an absolute pixel size (positive integer values) or a percentage of the screen/window to use.
Src
2 | 3 | 3.2 | 4 | IE3B2 | M | N1.1 | O3
Required? Yes
Description:
Indicates the URL of the multimedia object file.
Values: Either an absolute or relative URL.
Width
2 | 3 | 3.2 | 4 | IE3B2 | M | N1.1 | O3
Required? Yes
Description:
Specifies the width of the embedded component on the screen.
Values:
Indicates an absolute pixel size (positive integer values) or a percentage of the screen/window to use.
Example
<embed SRC="audio/realaudioclip.rpm" ALIGN="Bottom" WIDTH=40 HEIGHT=20 CONTROLS=StopButton CONSOLE="SoundClip">
<noembed>
Your browser doesn't support plug-ins! Please <a HREF="audio/realaudioclip.ram">play this sound clip</a> using a helper application instead.
</noembed>
</embed>
Parent Model
%In-line Parent% | %Block Parent%
Content Model
%In-line Content% | %Block Content% | <param>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...