ArticleslgStudy

science

Web Archive (file format)

Web Archive (file format) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Web Archive (file format) rather than just read about it. In short: Web Archive (stylized by Apple as Web archive, extension .webarchive) is a Web archive file format available on Apple devices for saving and reviewing complete web pages using the Safari web browser. The Web Archive format differs from a standalone HTML file because it also saves linked files such as images, CSS, and JavaScript.

Key takeaways

  • Web Archive (file format) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Web Archive (file format) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Web Archive (file format) from memory before moving on to harder problems.

Reference excerpt

Web Archive (stylized by Apple as Web archive, extension .webarchive) is a Web archive file format available on Apple devices for saving and reviewing complete web pages using the Safari web browser. The Web Archive format differs from a standalone HTML file because it also saves linked files such as images, CSS, and JavaScript. The Web Archive format is a concatenation of source files with filenames saved in the binary plist format using NSKeyedArchiver. Support for Web Archive documents was added in Safari 4 Beta on Windows and was included in subsequent versions, until its discontinuation in 2012. Safari on iOS and iPadOS (iPhone and iPad) has supported Web Archive files since at least iOS 13. Previously there was a third party iOS app called Web Archive Viewer that provided this functionality.

Usage A version of the Web Archive format is used to bundle whole music albums and movies with extra content and menus inside iTunes LP and Extras. Web Archive files were automatically generated for ads submitted to Apple's iAd advertising platform. The WebKit framework's WebArchive class is used to simplify cutting-and-pasting with whole or partial web pages.

Vulnerability In February 2013, a vulnerability with the Web Archive format was discovered and reported by Joe Vennix, a Metasploit Project developer. The exploit allows an attacker to send a crafted Web Archive to a user containing code to access cookies, local files, and other data. Apple's response to the report was that it will not fix the bug, most likely because it requires action on the users' part in opening the file.

Converting for other browsers Workarounds to allow the file to be viewed in other browsers are possible, though specific webpage contents may hinder this process. This requires one of the free tools WebArchive Folderizer (for OS X 10.2 and higher) or WebArchive Extractor (for OS X 10.4.3 and higher). Webarchives can be converted to WARC using the National Library of Norway's Warchaeology set of tools.

Alternatives MAFF is an open format (with a published specification) that enables saving of whole webpages in a single file. It was supported by Firefox, using an extension. Other web browsers use the MHTML format or do the equivalent by saving a directory of inline resources (usually images) alongside the HTML file, sometimes compressed, like the .war format used by Konqueror (tar+gzip or tar+bzip2). Safari does not support these alternative archive formats. For archiving entire websites, the Internet Archive has developed the Web ARChive (WARC) format which was standardized by ISO. HTMLD (HTML Directory) is a NeXT-developed format for saving web pages and their dependencies in a bundle that may also be served by a web server. Chrome offers the "webpage, complete" format which saves the page with a folder containing the required resources.

See also Web archiving – the general process of archiving web pages List of web archiving file formats – file formats for archiving web pages

References

Worked examples

Example 1 — a first encounter with Web Archive (file format)

Start with the simplest possible case. Write down what Web Archive (file format) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Web Archive (file format) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Web Archive (file format) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Web Archive (file format)

In research
Web Archive (file format) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Web Archive (file format) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Web Archive (file format) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Archive formats, Web archives, Web browsers, so understanding it makes those chapters shorter.
In everyday life
Look for Web Archive (file format) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Web Archive (file format)” →

How to study Web Archive (file format) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Web Archive (file format) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Web Archive (file format) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Web Archive (file format) in simple terms?

Web Archive (stylized by Apple as Web archive, extension .webarchive) is a Web archive file format available on Apple devices for saving and reviewing complete web pages using the Safari web browser. The Web Archive format differs from a standalone HTML file because it also saves linked files such…

Why does Web Archive (file format) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Web Archive (file format)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Web Archive (file format).

Tags

  • Archive formats
  • Web archives
  • Web browsers

Keep exploring