Contents Index Topic Contents | ||
Previous Topic: EM Next Topic: FIELDSET |
EMBED
Description
Allows you to embed documents of any type. The user needs to have an application which can view the data installed correctly on their machine.
Syntax
<EMBED
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP
ALT=text
CLASS=classname
CODE=filename
CODEBASE=url
HEIGHT=n
HSPACE=n
ID=value
NAME=name
SRC=url
STYLE=css1-properties
TITLE=text
UNITS=value
VSPACE=n
WIDTH=n
>
Parameter Description ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP Specifies the alignment for the control-like element. ALT=text Optional text as an alternative to the application if it cannot be executed. CLASS=classname Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag. CODE=filename The name of the file containing the compiled Java class. CODEBASE=url This is an optional parameter that specifies the base URL for the application. HEIGHT=n Along with WIDTH, specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages. HSPACE=n Along with VSPACE=, specifies margins for the element. ID=value An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID names must begin with a letter. The underbar character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created and can only be referenced by ordinal position. NAME=name Specifies the name of the application. SRC=url Specifies a URL for the associated file. STYLE=css1-properties Specifies an in-line style sheet for the tag. TITLE=text Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. UNITS=value Defines the units for the height and width of the EMBED element, expressed as pixels (px) or ems (em). VSPACE=n Along with HSPACE=, specifies margins for the element. WIDTH=n Along with HEIGHT, specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages. Remarks
This element is a block element.
Both the start and end tags are required.
Scripting Object
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.