archive (HTML attribute)

Spec
Depr. Version
Yes HTML 2

Syntax

archive="URL of archive file"

Description

The archive attribute allows the author to define an archive file (in .zip or .jar format) or comma separated list containing all the necessary Java class files that can be downloaded and cached on the client computer’s hard drive for quicker access. The .jar format (Java Archive) offers slightly more in the way of features than a .zip (for example digital signatures).

Uses the AppletClassLoader with the given codebase. Note that relative URLs are interpreted with respect to the codebase and the archive files must be in the specified codebase directory or one of its sub directories.

Example

The archive attribute:

<applet code="ticker.class" archive="ticker.jar">
</applet>

Value

URL of archive file

Compatibility

User-contributed notes

There are no comments yet.

Related Products