archive (HTML attribute)

Depr. Version
Yes HTML 2


archive="URL of archive file"


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.


The archive attribute:

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


URL of archive file


User-contributed notes

There are no comments yet.

Related Products