Home Home -> HTML Reference -> Tag Reference - embed

Tag Reference - embed

Description

This specifies an object to be included in the document. It is non-standard, although is widely supported.

Attributes


align
Sets the alignment of the object, relative to the text. An alignment of left, right or centre will cause text to flow around the object.

alt
Alternative text when the tag is not supported.

border
Sets the width of the border around the object.

class
The CSS style class to be applied to this tag. This could be used, for example, to create a style for "important" items, using a line in the style sheet as below:

.important { font-color: red }

This can be applied to the tag as follows:

<b class="important">This is important.</b>

code
The Java class file to use.

codebase
The base URL for class referencing.

height
Sets the height of the object.

hidden
If this is present, the object is not visible on the page. This is useful if the object is simply used as a tool for JavaScript, or has no user interface.

hspace
Specifies the horizontal spacing around the object.

id
A unique alphanumeric identifier used to identify this object/tag. This identifier can be used in scripting languages to refer to the tag or object.

name
Defines a name for this tag - in <a> tags it may be used in a hyperlink to jump directly to the tag's location.

palette
On Windows systems, this determines which palette to use.

pluginspage
This should be the URL of a page with instructions for embedding the object.

src
Specifies the URL of the source file for this element.

style
Inline style-sheet information.

title
Advisory text for this tag - this could define an abbreviation or acronym, explain where a link goes or provide some other useful description.

type
Specifies the MIME type of the linked document.

units
In Netscape, this determines the units of measurement. Default is pixels.

vspace
Specifies the vertical space around the object.

width
Sets the width of the object.