HTML and CSS Reference
In-Depth Information
A number of other attributes are supported by the <object> tag, too (see Table 12.2).
TABLE 12.2 <object> Attributes
Attribute
Description
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.
align
A list of URLs for resources that will be loaded by the browser.
Removed from HTML5 because it was rarely used.
archive
The size of the border in pixels. Removed from HTML5 because
it is superseded by the CSS border property.
border
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.
classid
The URL where the plug-in can be downloaded if the user does
not have it installed. Only works with Internet Explorer. Removed
from HTML5.
codebase
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
used.
codetype
The URL for the data that will be presented in the <object> ele-
ment. Flash uses a <param> to specify this instead.
data
Indicates that the object is only a declaration and should not be
created or displayed. Rarely used and removed from HTML5.
declare
New attribute in HTML5 that enables the element to be associ-
ated with a specific form.
form
12
The height of the element.
height
The horizontal padding around the object. Superseded by the
padding CSS property and removed from HTML5.
hspace
A unique name for the element.
name
Contains text to be displayed while the object is loading.
Removed from HTML5, in favor of using CSS and JavaScript to
display a progress message.
standby
The MIME type of the content to be displayed in the object.
type
Specifies the URL of a client-side image map to be applied to
the object.
usemap
The vertical padding for the object. Superseded by the padding
CSS property and removed from HTML5.
vspace
The width of the element.
width
 
 
Search WWH ::




Custom Search