<EMBED...>
     ALIGN="left|right|top|texttop|middle|absmiddle|baseline|bottom|absbottom"
     ALT="Alternative Text"
     BORDER="Pixels"
     CLASS="Style Sheet Class"
     HIDDEN="true|false"
     HSPACE="Pixels"
     ID="Unique Identifier"
     LANG="Language descriptor"
     LANGUAGE="Scripting Language descriptor"
     NAME="Element Identifier"
     PALETTE="foreground|background"
     PLUGINSPACE="URL"
     STYLE="Style Sheet Setting"
     TITLE="Title of element"
     VSPACE="Pixels"
     onClick="Script Function"
     onDblClick="Script Function"
     onDragStart="Script Function"
     onFilterChange="Script Function"
     onHelp="Script Function"
     onKeyDown="Script Function"
     onKeyPress="Script Function"
     onKeyUp="Script Function"
     onMouseDown="Script Function"
     onMouseMove="Script Function"
     onMouseOut="Script Function"
     onMouseOver="Script Function"
     onMouseUp="Script Function"
     onSelectStart="Script Function"
     onBlur="Script Function"
     onFocus="Script Function"
>
...
</EMBED>

Description

Used to embed an object that the document doesn't natively support. The <EMBED> element was introduced by Netscape to support plug-ins - code modules that handle data types not natively supported by the browser.

Attributes

Attribute Description
ALIGN Specifies the alignment of the embedded object.
ALT Specifies alternative text, should the embedded object not be displayable, or for browsers that don't support the <EMBED> element. The value of the ALT attribute may be presented as a Tool-Tip when the mouse hovers over the embedded object.
BORDER Sets the width of the embedded objects border.
CLASS Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element.
HIDDEN Sets whether the embedded object is displayed or not.
HSPACE Specifies an amount of horizontal white space (I.e. to the left and right) surrounding the embedded object.
ID Sets a unique identifier for the element, allowing it to be referenced within scripting functions, or to specify a style sheet setting, set using a #<style_class> class selector.
LANG Specifies the language (using an ISO country code derived classifier) that the element is using, for browsers that support document localisation.
LANGUAGE Sets the scripting language that any in-line scripting events are written in.
NAME Sets a unique identifier for the embedded object, which can be used to identify the embedded object in scripting functions.
PALETTE Sets whether the embedded object should use the foreground or background palette, to avoid palette flash on Windows systems running in 256 colours or less.
PLUGINSPACE Specifies a URL that contains reference information (e.g. installation instructions etc.) for the particular plug-in being used.
STYLE Sets in-line style sheet settings for the element, which will over-ride any set in a <STYLE> block, or externally linked to the document.
TITLE Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers.
VSPACE Specifies an amount of vertical white space (I.e. to the left and right) surrounding the embedded object.

Scripting Events

Event Description
onClick Fired whenever the user clicks the element (or its contents) with the mouse
onDblClick Fired whenever the user double-clicks the element (or its contents) with the mouse (the double-click speed is dependant on the users system settings).
onDragStart Fired when the users initiaties dragging of the element (or it's contents)
onFilterChange Fired whenever a filter is applied to an element, or whenever the properties of an applied filter are changed.
onHelp Fired whenever the user presses 'F1' (for help) and the element has the users current focus.
onKeyDown Fired when the user presses a key (only when the key is actually pressed) when the element has the focus.
onKeyPress The onkeypress event is similar to the onkeydown event, except that it returns the UNICODE value of the key or keys being pressed when the event occurs.
onKeyUp The onkeyup event is fired when a previously pressed key is released while the referenced element has the focus.
onMouseDown The onmousedown event fires whenever the user presses a button on the mouse, with the event being initially fired for the element that has the focus when the mouse button is clicked, and bubbling up through the element objects until an onmousedown event handler is found.
onMouseMove The onmousemove event occurs whenever the users mouse moves over the element.
onMouseOut The onmouseout event fires when the users mouse leaves the area defined by the referenced element.
onMouseOver The onmouseover event fires when the users mouse enters the area defined by the referenced element.
onMouseUp The onmouseup event fires after a users mouse button has been pressed and released.
onSelectStart The onselectstart event is fired whenever the users starts to select some text that is the contents of the referenced element.
onBlur Fires when the element loses the users focus (i.e. the user clicks on a different element within the document).
onFocus Fires whenever the element receives the focus, either by the user directly clicking on, or 'tab'bing to the element, or when the focus is applied through scripting.


See 'HTML Reference|Media Embedding|<EMBED>' for more information.