archive (HTML attribute)
| Depr. | Version |
|---|---|
| Yes | HTML 2 |
Syntax
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 fileCompatibility
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.