HTML and CSS Reference
In-Depth Information
Name
object
Synopsis
<object> . . . </object>
A generic element used for embedding an external resource (such as an image, applet, movie,
or audio) on a web page. The attributes required for the object element vary with the type
of content it is placing. The embedded content may be treated as an image, a nested browsing
context, or may be processed by a plug-in. The object element may contain content that will
be rendered if the object cannot be embedded. The object element may also contain a num-
ber of param elements that pass important information to the object when it displays or plays.
Not all objects require additional parameters. The object and param elements work together
to allow authors to specify three types of information:
▪ The implementation of the object—that is, the executable code that runs in order to render
the object.
▪ The data to be rendered. The data attribute specifies the location of the resource, in most
cases an external file, such as a movie or a PDF.
▪ Additional settings required by the object at runtime. Some embedded media objects re-
quire additional settings that get called into play when the object plays or is rendered.
Usage
Categories:
Flow content, phrasing content, embedded content, interactive (if it has a usemap attrib-
ute), palpable content, “listed, submittable, form-associated element”
Permitted contexts:
Where embedded content is expected
Search WWH ::




Custom Search