| EMBED |
|
| This tag is used to place - "embed" - an object such as a sound or image file into a document. The EMBED tag is not widely used, and it is recommended you use the OBJECT tag instead. For example: |
|
| <EMBED SRC="music.wav"> |
|
| EMBED Attributes: |
|
| ACCESSKEY=" ... " |
| Assigns a key sequence to the element. That is, a letter is assigned that would activate that object. For example, you could assign the letter "I" to activate a link to the 'Index' page. |
|
| ALIGN="LEFT, RIGHT, CENTER, ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, TEXTTOP, or TOP" |
| This attribute defines how the embedded item is positioned with respect to the document borders or surrounding content. The embedded object can be positioned to float between the edges of the frame either to the LEFT, RIGHT, or evenly centered (CENTER). ALIGN="TOP" and ALIGN="TEXTTOP" are practically interchangeable and will align the item with the top of the existing item. ALIGN="ABSMIDDLE" lines up the middle of the embedded item with the middle of the existing item. ALIGN="ABSBOTTOM" will align the bottom of the embedded item with the bottom of the existing item. ALIGN="BOTTOM" and ALIGN="BASELINE" are practically interchangeable and will align the bottom of the item with the bottom of the existing item. |
|
| HEIGHT="n" |
| This attribute specifies the HEIGHT, measured in pixels, of the object to which it has been assigned. |
|
| HIDDEN |
| This attribute is used to specify whether the embedded object is hidden or visible. |
|
| NAME=" ... " |
| This tag is used to mark a location within a document with a unique name. This named location can then be quickly moved to by means of a hyperlink using the HREF="#URL" attribute. Note the pound (#) sign before the URL. The pound sign used in this way indicates to the browser that the target location has been defined by the NAME=" ... " attribute. |
|
| OPTIONAL PARAM=" ... " |
| This attribute indicates the operating options to be used when the embedded object has been activated. For example, AUTOSTART can be used with *.MPEG movies. |
|
| PALLETTE="#RRGGBB|#RRGGBB" |
| This attribute sets the color of the element to which it was invoked, this case being the color of the foreground and background for the embedded OBJECT. It can be applied to anything that can be colored, such as text, borders, or backgrounds. The color can be defined using a proper color name such as "RED" or with an #RGB (Red-Green-Blue) value. |
|
| SRC="URL" |
| This attribute is used to define the relative or absolute location (URL) of the object to be embedded. |
|
| TITLE=" ... " |
| The TITLE attribute is used to display a note or information in a popup window pertaining to the object to which it was assigned. The popup window is invoked by holding the mouse pointer over the object. |
|
| UNITS="PIXELS, or EN" |
| this attribute is used to define the measurement option being used. That is, the HEIGHT="n" and WIDTH="n" attributes can be mesured in pixels (UNITS="PIXELS), or in 'EN spaces' (UNITS="EN"). The default is for the value to be represented in PIXELS. |
|
| WIDTH="n" |
| This attribute specifies the width, measured in pixels, in which the embedded object will be presented. |
|
This tag also accepts the following Event Handlers:
onClick
onDblClick
onMouseDown
onMouseUp
onMouseOver
onMouseMove
onMouseOut
onKeyPress
onKeyDown
onKeyUp |