Skip to Content
Dynamic HTML: The Definitive Reference
book

Dynamic HTML: The Definitive Reference

by Danny Goodman
July 1998
Intermediate to advanced
1456 pages
65h 5m
English
O'Reilly Media, Inc.
Content preview from Dynamic HTML: The Definitive Reference

Name

ARCHIVE — NN 3 IE n/a HTML 4

Synopsis

ARCHIVE=”archiveFileURL"

Optional

The precise meaning of the ARCHIVE attribute varies between the HTML 4.0 recommendation and Netscape’s implementation. The basic idea behind Netscape’s ARCHIVE attribute is that an author can package together multiple class files into a single uncompressed .zip archive file and let the browser load the entire set of classes at one time. This can offer a performance improvement over loading just the main class file (specified by the CODE attribute) and then letting the class loader fetch each additional class file as needed.

In addition to specifying the ARCHIVE attribute, be sure to include a CODE attribute that names the main class to load. Navigator first looks for the presence of that class file in the archive. If the file is missing from the archive, Navigator loads the CODE class file separately. (That class may then load additional supporting class files individually.) Navigator requires that the archive file have a .zip filename extension. The URL must also be relative to the CODEBASE location.

The HTML specification allows multiple URLs to be specified (in a space-delimited list) for additional class or other resource files. This design is in anticipation of the same attribute being used with the OBJECT element, which the W3C has deemed to be the successor to the APPLET element.

Example

<APPLET CODE="ScriptableClock.class" ARCHIVE="myClock.zip" WIDTH=400 HEIGHT=50>
</APPLET>

Value

Case-sensitive URI.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Dynamic HTML: The Definitive Reference, 3rd Edition

Dynamic HTML: The Definitive Reference, 3rd Edition

Danny Goodman

Publisher Resources

ISBN: 1565924940Catalog PageErrata