ⓘ object – generic external content # T
The
object
element
represents external content.
Permitted contents #
Transparent,
with the following specific structure:
Additional constraints and admonitions #
-
The element “object”
with the attribute “usemap” must not
appear as a descendant of the “a” element.
-
The element “object”
with the attribute “usemap” must not
appear as a descendant of the “button” element.
-
The “archive” attribute on the “object” element is obsolete.
Use the “data” attribute and “type” attribute to invoke plugins.
To set a parameter with the name “archive”, use the “param” element.
-
The “classid” attribute on the “object” element is obsolete.
Use the “data” attribute and “type” attribute to invoke plugins.
To set a parameter with the name “classid”, use the “param” element.
-
The “code” attribute on the “object” element is obsolete.
Use the “data” attribute and “type” attribute to invoke plugins.
To set a parameter with the name “code”, use the “param” element.
-
The “codebase” attribute on the “object” element is obsolete.
Use the “data” attribute and “type” attribute to invoke plugins.
To set a parameter with the name “codebase”, use the “param” element.
-
The “codetype” attribute on the “object” element is obsolete.
Use the “data” attribute and “type” attribute to invoke plugins.
To set a parameter with the name “codetype”, use the “param” element.
-
The “declare” attribute on the “object” element is obsolete.
Repeat the “object” element completely each time the resource is to be reused.
-
The “standby” attribute on the “object” element is obsolete.
Optimize the linked resource so that it loads quickly or, at least, incrementally.
-
The “align” attribute on the “object” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “hspace” attribute on the “object” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “vspace” attribute on the “object” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “border” attribute on the “object” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
Permitted parent elements #
any element that can contain
phrasing elements, any element that can contain
flow elements
Details #
The
object
element
represents external content, which, depending on the type
of the content, will either be treated as an image, as a
nested browsing context, or as external content to be
processed by a plugin.
Typical default display properties #