archive (HTML attribute)

Spec
Depr. Version
No HTML 4
Browser support (more…)
IE5.5+ FF1+ SA1.3+ OP9.2+ CH2+
Partial Partial Partial Partial Full

Syntax

archive="uri"

Description

The archive attribute allows the author to define a number of files that are required for the object content to render or run correctly, effectively preloading the necessary resources.

Example

In this code, the archive attribute obtains supporting classes from giant-dog.jar:

<object classid="java:giant-dog.class" archive="giant-dog.jar">
</object>

Value

This attribute takes as its value a space-separated list of URLs of the files required.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
5.5 6.0 7.0 8.0 1.0 1.5 2.0 3.0 3.5 1.3 2.0 3.1 4.0 9.2 9.5 10.0 2.0
Partial Partial Partial Partial Partial Partial Partial Partial Partial Partial Partial Partial Partial Partial Partial Partial Full

This attribute’s compatibility is dependent on the type of object with which it’s used.

User-contributed notes

There are no comments yet.

Related Products