Embed

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



   Quick Statistics   
End Tag:
   Required
Standards Details:
NA
XHTML Modules:
NA
CSS 'display' Type:
"inline" (replaced element)
CSS Mapping:
NA
Default Rendering:
Replaced with plug-in content of specified dimensions
Official Docs:
Netscape's "New HTML 3.0 Proposals"
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 also allows any number of additional custom attributes that are dependent on the Plug-In used. Any attributes present that the browser does not understand are passed on to the plug-in for interpretation.

The browser should first try to determine which Plug-In to use based on the file extension of the file in the SRC attribute (Netscape browsers may also use the TYPE attribute to determine this.) If the browser can not determine what Plug-In to use, it will then query the user to determine what to do next.

Common Attributes
%Core%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N6B1|O4]
%Events%
[2|3|3.2|4] [X1|X1.1] [IE5.5|M|N|O]
%Language%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N|O]
%Editing%
[2|3|3.2|4] [X1|X1.1] [IE5.5|M|N|O]

Specific Attributes
Align
[2|3|3.2|4] [X1|X1.1] [IE3B2|M|N1.1|O3.5]
Standards Details: NA
Required? No
Description:
This attribute specifies the alignment of text following the embedded object relative to the object on the screen. Values of LEFT and RIGHT specify floating horizontal alignment of the embedded object in the browser window, and subsequent text will wrap around the object. The other values specify vertical alignment of text relative to the object on the same line.
Values: Left | Right | Top | Texttop | Middle | Absmiddle | Baseline | Bottom | Absbottom
Disabled
[2|3|3.2|4] [X1|X1.1] [IE5.5|M|N|O]
Standards Details: NA
Required? No
Description:
Specifies whether or not the embedded object responds to user interaction. Usually also signified by a visual "dimming" of the object.
Values: True | False [DEFAULT]
Height
[2|3|3.2|4] [X1|X1.1] [IE3B2|M|N1.1|O3]
Standards Details: NA
Required? Yes
Description:
Specifies the height of the embedded object on the screen.
Values:
Positive integers or a percentage of the screen/window to use. If the UNITS attribute is not specified, the default measurement system used for positive integers is pixels (px.)
Hidden
[2|3|3.2|4] [X1|X1.1] [IE3B2|M|N2|O3.51]
Standards Details: NA
Required? No
Description:
Specifies whether the embedded object will be visible/rendered on the page. A value of TRUE will override any HEIGHT/WIDTH attributes also set and the rest of the page will be rendered as if the embedded object does not exist in the document flow.
Values: True | False [DEFAULT]
Hspace
[2|3|3.2|4] [X1|X1.1] [IE|M|N1.1|O4]
Standards Details: NA
Required? No
Description:
This attribute specifies the horizontal spacing (left and right padding) around the embedded object using the unit system specified in the UNITS attribute. Values are specified using positive integers.
Values: Positive integer values. If the UNITS attribute is not specified, the default measurement system is pixels (px.)
Name
[2|3|3.2|4] [X1|X1.1] [IE4|M|N4|O]
Standards Details: NA
Required? No
Description:
This attribute is used to give a unique label to this embedded object so that it can be referenced and manipulated with scripting code.
Values: Alphanumeric characters.
Palette
[2|3|3.2|4] [X1|X1.1] [IE|M|N3-??|O]
Standards Details: NA
Required? No
Description:
This attribute is windows-platform specific; it controls whether the foreground or background palette is used by the plug-in to render the embedded object.
Values:
Background [DEFAULT] The plug-in uses the background color palette to render the embedded object.
Foreground The plug-in uses the foreground color palette to render the embedded object.
PluginsPage
[2|3|3.2|4] [X1|X1.1] [IE3B2|M|N2|O3.51]
Standards Details: NA
Required? No
Description:
Specifies a URL that contains instructions for downloading the necessary plug-in for the embedded object if the plug-in is not already installed.
Values: Either an absolute or relative URL. All URLs should be URL encoded where required.
PluginURL
[2|3|3.2|4] [X1|X1.1] [IE|M|N4|O]
Standards Details: NA
Required? No
Description:
This attribute takes precedence over PluginsPage and consists of the URL of a Java Archive file for use in directly installing a plug-in if it is not already installed.
Values: Either an absolute or relative URL. All URLs should be URL encoded where required.
Src
[2|3|3.2|4] [X1|X1.1] [IE3B2|M|N1.1|O3]
Standards Details: NA
Required? Yes
Description:
Indicates the source URL of the embedded object.
Values: Either an absolute or relative URL. All URLs should be URL encoded where required.
Type
[2|3|3.2|4] [X1|X1.1] [IE3B2|M|N3|O3.51]
Standards Details: NA
Required? No
Description:
Specifies the MIME type of the embedded object.
Values: Alphanumeric MIME type.
Units
[2|3|3.2|4] [X1|X1.1] [IE4|M|N3.0-??|O]
Standards Details: NA
Required? No
Description:
Defines the measurement system used for absolute integer values of the HEIGHT/WIDTH and HSPACE/VSPACE attributes.
Values:
'pixels' [Netscape only. Default value]
'px' [Internet Explorer only. Default value]
'en' [Netscape only.] Half the point-size of the current font.
'em' - [Internet Explorer only.] A scaling factor relative to the size of the current font.
Vspace
[2|3|3.2|4] [X1|X1.1] [IE|M|N1.1|O4]
Standards Details: NA
Required? No
Description:
This attribute specifies the vertical spacing (top and bottom padding) around the embedded object using the unit system specified in the UNITS attribute. Values are specified using positive integers.
Values: Positive integer values. If the UNITS attribute is not specified, the default measurement system is pixels (px.)
Width
[2|3|3.2|4] [X1|X1.1] [IE3B2|M|N1.1|O3]
Standards Details: NA
Required? Yes
Description:
Specifies the width of the embedded object on the screen.
Values:
Positive integers or a percentage of the screen/window to use. If the UNITS attribute is not specified, the default measurement system used for positive integers is pixels (px.)
Example
<embed src="audio/realaudioclip.rpm" align="Bottom"
width="40" height="20" controls=StopButton console="SoundClip">
</embed>
<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>
Parent Model
%In-line Parent% | %Block Parent%
Content Model
%In-line Content% | %Block Content% | <param>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...