Skip to main content

<OBJECT>

object tag

Synopsis


<OBJECT>...</OBJECT>

Attributes

Core Attributes

Attribute Description Value
CLASS Space-separated list of classes. A string.
ID Unique identifier. A string.
STYLE Associated style info. A string.
TITLE Advisory title. A string.

Event Attributes

Attribute Description Value
ONCLICK A pointer button was clicked. JavaScript code.
ONDBLCLICK A pointer button was double clicked. JavaScript code.
ONKEYDOWN A key was pressed down. JavaScript code.
ONKEYPRESS A key was pressed and released. JavaScript code.
ONKEYUP A key was released. JavaScript code.
ONMOUSEDOWN A pointer button was pressed down. JavaScript code.
ONMOUSEMOVE A pointer was moved within. JavaScript code.
ONMOUSEOUT A pointer was moved away. JavaScript code.
ONMOUSEOVER A pointer was moved onto. JavaScript code.
ONMOUSEUP A pointer button was released. JavaScript code.

General Attributes

Attribute Description Value
ALIGN Alignment “top”, “middle”, “bottom”, “left”, or “right”.
BORDER Link border width A numeric value.
CLASSID Identifies an implementation A URI.
CODEBASE Base URI for classid, data, archive A URI.
DATA Reference to object's data A URI.
DECLARE Declare but don't instantiate flag No value: enabled if attribute is present.
HEIGHT Override height A numeric value.
HSPACE Horizontal gutter A numeric value.
NAME Name for submit A string.
USEMAP Use client-side image map A URI.
VSPACE Vertical gutter A numeric value.
WIDTH Override width A numeric value.

Lang Attributes

Attribute Description Value
DIR Direction for weak/neutral text. “ltr”, or “rtl”.
LANG Language code. A string.

Other Attributes

Attribute Description Value
ARCHIVE Space-separated list of URIs A string.
CODETYPE Content type for code A string.
STANDBY Text to show while loading A string.
TABINDEX Position in tabbing order A numeric value.
TYPE Content type for data A string.

Description

object tag

FeedbackOpens in a new tab