Name
<object> — NN: 2, 3, 4 • MSIE: 2, 3, 4, 5 • HTML 4 • WebTV • Opera3
Synopsis
<object>...</object>
Places an object (such as an applet, media file, etc.) on a web page.
It is similar to the <embed> tag. The
<object> tag often contains information for
retrieving ActiveX controls that Internet Explorer on Windows uses to
display the object.
Attributes
align=baseline|center|left|middle|right| textbottom|textmiddle|texttopAligns object with respect to surrounding text.
border=numberSets the width of the border in pixels if the object is a link.
classid=urlIdentifies the class identifier of the object. The syntax depends on the object type.
codebase=urlIdentifies the URL of the object’s codebase. Syntax depends on the object.
codetype=codetypeInternet Explorer 3.0/4.0 and HTML 4.0 Specification only. Specifies the media type of the code. Examples of code types include
audio/basic,text/html, andimage/gif.data=urlSpecifies the URL of the data used for the object. The syntax depends on the object.
declareInternet Explorer 3.0 and HTML 4.0 Specification only. Declares an object without instantiating it.
height=numberSpecifies the height of the object in pixels.
hspace=numberHolds a number of pixels space clear to the left and right of the object.
name=textSpecifies the name of the object to be referenced by scripts on the page.
shapesInternet Explorer 3.0 and HTML 4.0 Specification only. Indicates that the object contains an imagemap.
standby=textmessageInternet Explorer 3.0 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access