object ElementThe object element is declared by the XHTML 1.1 Object Module
Elements in the Object Module are:objectparam (Param Support Module)
The object element is used to include a generic embedded object within a document.
If the user agent does not understand the type of object specified, it should try to render the contents of the
object element instead. This may be an alternative object element or other XHTML content (which
should be appropriate to the context of the object element's
location, e.g. block-level code should not be included if the object is situated in an inline context where block-level
content is not allowed).
Although not explicitly required by the XHTML 1.1 DTD, a comment within
the DTD states that any param elements should be placed prior to other content in the
object element (ref: *Embedded Object Module DTD
at the W3C).
I do not use the object element often so I will just point you in the direction of
the W3C Specification *HTML 4.01 - Generic inclusion: the OBJECT element
(which has the same function as this corresponding XHTML element).
There are no #REQUIRED attributes on the object element.
object element are listed below:archive [ type URIs ].jar files) which are relevant to the object (relative URIs are with respect to the codebase attribute, if present). Specifying archives might result in a faster load time for the object, since they can be preloaded (the resources in classid and data attributes may be included here)classid [ type URI ]codebase attribute, if present). If this attribute is specified, the codetype (or type) attribute should be as well (so that the user agent can avoid loading unsupported content types)codebase [ type URI ]classid, archive and data URIs (default value is the current document's base URI)codetype [ type ContentType ]classid attribute) - if absent, the value of the type attribute is used instead.data [ type URI ]codebase attribute, if present). If this attribute is specified, the type attribute should be as well (so that the user agent can avoid loading unsupported content types)declare [ type Boolean ]height [ type Length ]name [ type CDATA ]formstandby [ type Text ]tabindex [ type Number ]type [ type ContentType ]data attribute) Note, however, that the HTTP header returned by the server takes precedencewidth [ type Length ]object element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]All attributes in the
Events Attribute Collection
are supported:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
object element is:
( #PCDATA | Flow.mix | param )*
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
objectabbr, acronym, address, blockquote, br, cite, code, dfn, div, em, h1 - h6, kbd, p, pre, q, samp, span, strong, varadl, ol, ultablebutton, fieldset, form, input, label, select, textareaimgb, big, hr, i, small, sub, sup, ttmapnoscript, scriptdel, insbdoobject, paramrubyobjectheadabbr, acronym, address, cite, code, dfn, div, em, h1 - h6, kbd, p, q, samp, span, strong, varadd, dt, licaption, td, thbutton, fieldset, label, legendb, big, i, small, sub, sup, ttdel, insbdoobjectrb, rt