HTML and CSS Reference
junction with the codebase attribute to determine the full URL of the ob-
ject to be retrieved and placed in the document.
22.214.171.124. The archive attribute
For performance reasons, you may choose to preload collections of ob-
jects contained in one or more archives. This is particularly true of Java-
based applications, where one Java class relies on many other classes to
get its work done. The value of the archive attribute is a quote-enclosed
list of URLs, each pointing to an archive to be loaded by the browser
before it renders or executes the object.
126.96.36.199. The codetype attribute
The codetype attribute is required only if the browser cannot determine
an applet's MIME type from the classid attribute or if the server does
not deliver the correct MIME type when downloading an object. This at-
tribute is nearly identical to type (see section 188.8.131.52 ), except that it
is used to identify program code type, whereas type should be used to
identify datafile types.
The following example explicitly tells the browser that the object's code
<object code="clock.class" codetype="application/java">
184.108.40.206. The data attribute
Use the data attribute to specify the datafile, if any, that the object is
to process. The data attribute's value is the URL of the file, either abso-
lute or relative to the document's base URL or to that which you provide