Object

Support Key: [2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson =
Main Index | Element Tree | Element Index | HTML Support History



   Quick Statistics   
End Tag:
   Required
Standards Details:
In all HTML 4.x/XHTML DTDs
XHTML Modules:
Object
CSS 'display' Type:
"inline" (replaced)
CSS Mapping:
NA
Default Rendering:
Replaced with object of specified dimensions
Official Docs:
HTML 4.x, XHTML 1.1

What is it?
The OBJECT element aims to replace and absorb the many methods in use to include multi-media and embedded content in HTML documents. This element can replace all of the functionality in the existing APPLET, EMBED, BGSOUND, SOUND and IMG elements. In order to achieve this, the element has many attributes that require some explanation.

When using OBJECT in place of the APPLET element, the PARAM element is used exactly as it would be with the APPLET element.

Common Attributes
%Core%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N6B1|O4]
%Accessibility%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N6|O5]
%Events%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N6B1|O4]
%Language%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N|O]
%Data%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N|O]
%Editing%
[2|3|3.2|4] [X1|X1.1] [IE5.5|M|N|O]

Specific Attributes
Accesskey
[2|3|3.2|4] [X1|X1.1] [IE4|M|N|O]
Standards Details: NA
Required? No
Description:
This is a method of giving access/focus to an active HTML element using a keyboard character. This is a common GUI paradigm also known as a "keyboard shortcut" or "keyboard accelerator" A single character is used as the value of this attribute. In addition, a platform-dependent key is usually used in combination with the ACCESSKEY character to access the functionality of the active field.
Values: A single, case-insensitive alphanumeric character from a browser's character set.
Align
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0. Dropped in XHTML 1.1 in favor of CSS.
Required? No
Description:
This attribute specifies the alignment of text following the OBJECT reference relative to the object on screen. LEFT and RIGHT specify floating horizontal alignment of the object in the browser window, and subsequent content will wrap around the object. The other options specify vertical alignment of text relative to the object on the same line.
Values: Left | Right | Top | Texttop | Middle | Absmiddle | Baseline | Bottom | Absbottom
Archive
[2|3|3.2|4] [X1|X1.1] [IE|M|N6B1|O??]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute specifies one or more archives that may contain components relevant to the Object. This may include data that is also specified in the DATA and CLASSID attributes.
Values: CDATA [Space separated list of absolute or relative URLs. If a relative URL is used, it is relative first to the CODEBASE attribute. All URLs should be URL encoded where required.]
Border
[2|3|3.2|4] [X1|X1.1] [IE6|M|N6B1|O7.1]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0. Dropped in XHTML 1.1 in favor of CSS.
Required? No
Description:
This controls the thickness of the border around the object (in pixels.)
Values: CDATA [0, for no border, or a positive integer value.]
ClassID
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute is a URL indicating the implementation for the OBJECT. In some systems this is a class identifier.
Values: CDATA. [Either an absolute or relative URL. All URLs should be URL encoded where required.]
Code
[2|3|3.2|4] [X1|X1.1] [IE4|M|N|O??]
Standards Details: NA
Required? Yes
Description:
This attribute indicates a URL pointing to the Object's code/class.
Values: Either an absolute or relative URL. All URLs should be URL encoded where required.
CodeBase
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute allows the author to specify the URL of the OBJECT's implementation, which some URL schemes require in addition to the CLASSID URL.
Values: CDATA. [Either an absolute or relative URL. All URLs should be URL encoded where required.]
CodeType
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute specifies the MIME type of the code referenced by the CLASSID attribute in advance of actually retrieving it. Browsers may use this value to skip over unsupported MIME types without needing to make a network access.
Values: CDATA [Alphanumeric MIME type.]
Data
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute indicates a URL pointing to the OBJECTs data, such as a GIF file for an image. If the CLASSID attribute is absent, the media (MIME) type of the data is used to determine a default value for the CLASSID attribute. The implementation is then loaded as if the CLASSID attribute had been explicitly specified.
Values: CDATA. [Either an absolute or relative URL. All URLs should be URL encoded where required.]
Declare
[2|3|3.2|4] [X1|X1.1] [IE|M|N??|O]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This is a stand-alone attribute which indicates an object that is not created or instantiated until needed by something that references it (i.e. late binding.) Each such "binding" typically results in a separate copy of the object (this is class dependent.) So in such cases, DECLARE is treated as a declaration for making an instance of an object. See the DECLARE explanation in the OBJECT specification for more details.
Values: NA (HTML); declare (XHTML)
Height
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute explicitly specifies the height of the object in pixels. It can be used to speed up display of the document being downloaded so it can pre-render the document with object placeholders while the object downloads.
Values: CDATA. [Positive integer pixel values or positive integers paired with a "%" character denoting a percentage of the parent element height.]
HSpace
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0. Dropped in XHTML 1.1 in favor of CSS.
Required? No
Description:
This attribute specifies the horizontal spacing around objects in pixels (left and right padding.)
Values: CDATA. [Positive integer pixel values]
Name
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This provides a way for the object to participate in a FORM submission process. If the NAME attribute is specified and the DECLARE attribute is absent, then the browser should use the data obtained from the OBJECT [the method used to obtain the data from the object is specific to each object] paired with the NAME in the FORM submission process.
Values: CDATA
Standby
[2|3|3.2|4] [X1|X1.1] [IE|M|N|O7.1]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This allows you to specify a short text string for the browser to display while it loads the OBJECT's implementation and data. The character data can include character entities.
Values: CDATA
Tabindex
[2|3|3.2|4] [X1|X1.1] [IE4|M|N|O]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
"Tabbing" is a method of giving access/focus to an active HTML element using a standard keyboard sequence. All the active elements in a document can be cycled through using this sequence (ex: Windows TAB key.) The order of the active elements in this cycle is usually the order they occur in the document, but the TABINDEX attribute allows a different order to be established. The use of this attribute should create the following tabbing order cycle if the browser supports the attribute:
  1. Active elements using the TABINDEX attribute with positive integers are navigated first. Low values are navigated first.
  2. Active elements not specifying any TABINDEX attribute
Those elements carrying a DISABLED attribute or using negative TABINDEX values do not participate in the tabbing cycle.
Values: Positive or negative integers.
Type
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute specifies the MIME type of the data referenced in the DATA attribute in advance of retrieving it. In the absence of the CLASSID attribute, it allows the browser to retrieve the code implementing the OBJECT concurrently with the data and to skip over unsupported MIME types without having to make network accesses.
Values: CDATA. [Alphanumeric MIME type]
UseMap
[2|3|3.2|4] [X1|X1.1] [IE|M|N6B1|O7]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute specifies the URL (usually internal to the document) of the client-side image map specification to be used if the browser has that capability. If the argument to USEMAP begins with a "#" it is assumed to be in the current document. Client-side coordinate mapping is done by the browser, so is inherently faster in processing the coordinates than the old ISMAP process for the IMG element. This attribute is usually only used for static image OBJECTs.
Values: CDATA. [An absolute URL, a relative URL or an internal anchor name. All URLs should be URL encoded where required.]
VSpace
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0. Dropped in XHTML 1.1 in favor of CSS.
Required? No
Description:
This attribute specifies the vertical spacing around objects in pixels (top and bottom padding.)
Values: CDATA. [Positive integer pixel values]
Width
[2|3|3.2|4] [X1|X1.1] [IE3A1|M|N6B1|O4]
Standards Details: In all HTML 4.x/XHTML DTDs
Required? No
Description:
This attribute explicitly specifies the width of the object in pixels. It can be used to speed up display of the document being downloaded so it can pre-render the document with object placeholders while the object downloads.
Values: CDATA. [Positive integer pixel values or positive integers paired with a "%" character denoting a percentage of the parent element width.]
Example
<object codetype="application/java-vm" codebase="http://www.foo.com/applet.class"
classid="java:program.start" height="100" width="100">
<param name="options" value="xqz" />
   If you can read this you are too close.<br />
   AND your browser does not support Java.
</object>
Parent Model
%In-line Parent% | %Block Parent% | <head>
Content Model
%In-line Content% | %Block Content% | <param>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...