HTML and CSS Reference
In-Depth Information
data This attribute contains a URL for data required by an object.
declare This attribute declares an object without instantiating it. This is useful when the
object will be a parameter to another object. In traditional HTML, this attribute takes no
value; under XHTML, set it equal to declare .
name Under the older forms of HTML, this attribute defines the name of the control so
that scripting can access it. The id attribute should be used if possible.
standby This attribute contains a text message to be displayed while the object is loading.
type This attribute specifies the MIME type for the object's data. This is different from
codetype , which is the MIME type of the object and not of the data it uses.
usemap This attribute contains the URL of the image map to be used with the object.
Typically, the URL will be a fragment identifier referencing a map element somewhere else
within the file. The presence of this attribute indicates that the type of object being included
is an image.
vspace This attribute indicates the vertical space, in pixels or as a percentage, between the
object and surrounding text.
<!-- Using XHTML syntax with trailing slashes here -->
<object id="IeLabel1" width="325" height="65"
<param name="_ExtentX" value="6879" />
<param name ="_ExtentY" value="1376" />
<param name="Caption" value="Hello World" />
<param name="Alignment" value="4" />
<param name="Mode" value="1" />
<param name="ForeColor" value="#FF0000" />
<param name="FontName" value="Arial" />
<param name="FontSize" value="36" />
<b> Hello World for non-ActiveX users! </b>
<!-- Standard HTML style -->
<object classid="java:Blink.class"
standby="Here it comes"
height="100" width="300">
<param name="lbl"
value="Java is fun, exciting, and new.">
<param name="speed" value="2">
This will display in non-Java-aware or -enabled
<!-- pulls in remote content here -->
<object data="pullinthisfile.html">
Data not included!
Search WWH ::

Custom Search