HTML and CSS Reference
In-Depth Information
ument but instead will display the contents of the <object> tag, except
for the <param> tags. In short, you should provide alternative content in
case the browsers cannot handle the <object> tag or the object cannot
be loaded successfully. The classid attribute
Use the classid attribute to specify the location of the object, typically
a Java class, which you want the browser to include. The value may
be the absolute or relative URL of the desired object. Relative URLs are
considered to be relative to the URL specified by the codebase attribute
if it is provided; otherwise, they are relative to the current document's
For example, to execute a clock Java applet contained in a file named
clock.class , you might include the following code in your HTML docu-
<object classid="java:clock.class">
The browser locates the code for the applet using the current docu-
ment's base URL. Hence, if the current document's URL is:
the browser retrieves the applet code for our clock.class example as:
Search WWH ::

Custom Search