W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y

<EMBED>...</EMBED>

Description

The EMBED element lets you display output from a plug-in application in an HTML document. To display, the plug-in application must be installed. When loaded, the plug-in runs automatically.

Only the attributes HEIGHT, SRC and WIDTH are always available. All other attributes only have a meaning with specific plug-ins.

Plug-ins may use extra attributes, not listed here.

Attributes

W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2n
2.1y
ALIGN
This attribute defines how the plug-in is positioned on the page.

Value Description
ABSBOTTOM Aligns the bottom of the plug-in with the bottom of the current line.

This value isn't included in the WebTV documentation

ABSMIDDLE Aligns the middle of the plug-in with the middle of the current line.

This value isn't included in the WebTV documentation

BASELINE Aligns the bottom of the plug-in with the baseline of the text in the line. This value does the same as align="bottom".

This value isn't included in the WebTV documentation

BOTTOM Aligns the bottom of the plug-in with the baseline of the text in the line. This value does the same as align="baseline".
LEFT Places the plug-in at the left margin of the page.
MIDDLE Aligns the middle of the plug-in with the baseline of the text.

This value isn't included in the WebTV documentation

RIGHT Places the plug-in at the right margin of the page.
TEXTTOP Aligns the top of the plug-in with the top of the text in the line.

This value isn't included in the WebTV documentation

TOP Aligns the top of the plug-in with the top of the largest item in the line.


W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0n
TV 1.2y
2.1y
BORDER
Specifies the size, in pixels, of the border around the plug-in in pixels.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0n
TV 1.2n
2.1n
FRAMEBORDER
"NO" specifies that the frame has no border.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0y
TV 1.2y
2.1y
HEIGHT
The height of the area the browser will reserve for the embedded program. You can supply the height in pixels or as a percentage of total screen height. If the browser knows how to handle the type of data and has a control for it, the supplied height might not get used.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0y
TV 1.2y
2.1y
HIDDEN
This attribute determines whether the plug-in is visible on the page. Possible values are TRUE and FALSE. TRUE overrides any HEIGHT and WIDTH to make a zero-sized plug-in. The default is FALSE.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0n
TV 1.2y
2.1y
HSPACE
Set the amount of space, in pixels, that the browser should keep free on the left and right sides of the plug-in.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0y
TV 1.2y
2.1y
NAME
Set the name of the plug-in.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0n
TV 1.2n
2.1n
PALETTE
This attribute is used only on the Windows platform. Possible values are FOREGROUND and BACKGROUND. FOREGROUND makes the palette used by the plug-in be the foreground palette. BACKGROUND makes the plug-in use the background palette. The default value is BACKGROUND.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0n
TV 1.2n
2.1n
PLUGINSPAGE
Specifies the URL that contains the instructions for installing the plug-in. This URL is used by the assisted installation process if the plug-in registered for the MIME type of this EMBED element is not found.
W3 3.2n
4.0n
NS 3.0n
4.0y
IE 3.0n
4.0n
TV 1.2n
2.1n
PLUGINURL
This is an URL which points to a JAVA Archive which is be used if the plug-in is not installed and the users request to install the plug-in.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0y
TV 1.2y
2.1y
SRC
Specifies the data that the plug-in must use. The type of plug-in is determined by the extension if no value is specified with the TYPE attribute.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0y
TV 1.2n
2.1n
TYPE
Specifies the MIME type of the EMBED element, which in turn determines which plug-in to load. Use TYPE instead of SRC for plug-ins that require no data or plug-ins that fetch all their data dynamically.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0n
TV 1.2n
2.1n
UNITS
This attribute sets in which units the value of the HEIGHT and WIDTH attributes are supplied. Possible values are pixels or en which is half the point size.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0n
TV 1.2y
2.1y
VSPACE
Specifies a margin in pixels between the top and bottom edges of the applet and surrounding text and images.
W3 3.2n
4.0n
NS 3.0y
4.0y
IE 3.0n
4.0y
TV 1.2y
2.1y
WIDTH
Specifies the width in pixels in which the plug-in must fit. The plug-in is scaled to fit the specified height and width.

Examples

Source
<EMBED src="bgsound.mid" width="145" height="60" align="right"></EMBED>
 
Result
Statistics