HTML and CSS Reference
A number of other attributes are supported by the <object> tag, too (see Table 12.2).
TABLE 12.2 <object> Attributes
Aligns the element to the left , right , top , or bottom . This
attribute is superseded by the Cascading Style Sheets (CSS)
align property and is removed from HTML5.
A list of URLs for resources that will be loaded by the browser.
Removed from HTML5 because it was rarely used.
The size of the border in pixels. Removed from HTML5 because
it is superseded by the CSS border property.
Specifies the class ID value of the plug-in to be used. This is a
reference to the plug-in's address in the Windows Registry.
Removed from HTML5.
The URL where the plug-in can be downloaded if the user does
not have it installed. Only works with Internet Explorer. Removed
The MIME type of the code (plug-in) referenced by the codebase
attribute. This isn't the type of the media, but rather of the plug-
in used to play the media. Removed from HTML5 and rarely
The URL for the data that will be presented in the <object> ele-
ment. Flash uses a <param> to specify this instead.
Indicates that the object is only a declaration and should not be
created or displayed. Rarely used and removed from HTML5.
New attribute in HTML5 that enables the element to be associ-
ated with a specific form.
The height of the element.
The horizontal padding around the object. Superseded by the
padding CSS property and removed from HTML5.
A unique name for the element.
Contains text to be displayed while the object is loading.
display a progress message.
The MIME type of the content to be displayed in the object.
Specifies the URL of a client-side image map to be applied to
The vertical padding for the object. Superseded by the padding
CSS property and removed from HTML5.
The width of the element.