MHTML
From Wikipedia, the free encyclopedia
| Filename extension | .mht |
|---|---|
| Type of format | Markup language |
| Extended from | HTML |
| Standard(s) | RFC 2557 |
MHTML, short for MIME HTML, is a web page archive format used to bind resources which are typically represented by external links (such as images, Flash animations, Java applets, audio files) together with HTML code into a single file. The content of an MHTML file is encoded as if it were an HTML e-mail message, using the MIME type multipart/related. The first of the file is normally encoded HTML; subsequent parts are additional resources identified by their original URLs and encoded in base64. This format is sometimes referred to as MHT, after the suffix .mht given to such files by default when created by Microsoft Word, Internet Explorer or Opera. MHTML is a proposed standard, circulated in a revised edition in 1999 as RFC 2557.
Contents |
[edit] Web browser support
Few browsers support this format, and the process for saving a web page along with its resources as an MHTML file is not standardized across those browsers that do. Due to this, a web page saved as an MHTML file using one browser may render differently on another.
[edit] Internet Explorer
The .mht format was introduced in 1999 with Internet Explorer 5.[1] Saving in this format allows users to save a web page and its resources as a single MHTML file called a "Web Archive", where all images and linked files will be saved as a single entity. It may, however, be unable to save certain complex web pages correctly, especially those containing scripts.
[edit] Opera
Support for saving a web page with its resources as an MHTML file was made available in the Opera 9.0 web browser.[2] In Opera 9.50 the default saving format for "Save as" function is MHTML.
[edit] Firefox
Mozilla Firefox needs UnMHT extension to open and write MHT files. The extension works with Firefox 1.0 and later. Since version 5.0.0 UnMHT offers partial support for MHT files exported from Microsoft Office applications.
Vanilla Firefox doesn't include support for saving or opening web pages as MHTML files as of version 3.1b3. There is, however, source code available for viewing MHTML files within the related Thunderbird project. This is filed as unsolved bug 18764 within the Firefox project since 1999.
Mozilla Archive Format is another extension that can write and open .mht files as well as its own "MAFF" format. The MHT files it generates are not fully compatible with Microsoft's products. [3]
[edit] Safari
As of version 3.1.1 (released 2008-05-28), Apple Inc.'s Safari web browser does not support the MHTML format. Instead, it saves web pages in the webarchive format, which were directory bundles pre-3.0, but are now single file property list files.
There is a UnMHT port for Safari available[4] based on SIMBL[5] and GreaseKit.[6]
[edit] Konqueror
As of version 3.5.7 (released 2007-05-02), KDE's Konqueror web browser does not support MHTML files. However, it does include a feature for saving web pages as single files ("web archives", file extension .war) which are actually gzipped tarballs. (but there is a side project mhtconv that allows to use MHTML with Konqueror for both 3.x and 4.x KDE branches)
[edit] ACCESS NetFront
NetFront 3.4 (on devices such as the Sony Ericsson K850) can view and save MHTML files.
[edit] Google Chrome
As of April 2009, Google Chrome does not support viewing or saving MHTML files.
[edit] Editing support
All versions of Microsoft Word since Word 2002 can open and save MHTML documents.[7][8] A converter is available from Microsoft to enable Word 2000 to open,[9] and an add-on to allow it to save,[10] MHTML files.
MHTML is also supported by Microsoft Office Viewers[11][12], Microsoft Word, Microsoft Publisher, Microsoft Excel, and Microsoft PowerPoint.[13] Microsoft's HTML HTML editors, FrontPage, Expression Web and SharePoint Designer do not support editing MHT.
A Windows application called Blocknote supports editing MHTs.[14]
On the Linux platform a utility called kmhtConvert is available to convert MHTML files to the KDE Web Archive format.[15]
[edit] See also
- An alternative for attaching resources to an HTML document is the Data: URI scheme defined in IETF standard RFC 2397.
[edit] References
- ^ "Neue Features in Internet Explorer 5". Microsoft. 23. Oktober 2007. http://support.microsoft.com/kb/221787. Retrieved on 2009-05-10.
- ^ Santambrogio, Claudio (10. March 2006). "…and one more weekly!". Opera Software. http://my.opera.com/desktopteam/blog/show.dml/172375. Retrieved on 2009-05-15.
- ^ gardenerstouch (August 12th, 2006). "Feature Request: Support MS Web Archive Files". MozillaZine. http://forums.mozillazine.org/viewtopic.php?p=2554347&sid=7311c84eb2fe5bbbdcdbf9d5e35c39a0. Retrieved on 2009-05-10.
- ^ "UnMHT for Opera/Safari". UnMHT. 2008/06/05. http://www.unmht.org/os_unmht/en_index.html. Retrieved on 2009-05-10.
- ^ "SIMBL". 2007-10-17. http://culater.net/software/SIMBL/SIMBL.php. Retrieved on 2009-05-10.
- ^ "greasekit". google. http://code.google.com/p/greasekit. Retrieved on 2009-05-10.
- ^ "Convert legal documents to different word processing formats". Microsoft. http://office.microsoft.com/en-us/word/HA010744571033.aspx. Retrieved on 2009-05-15.
- ^ "Saving a document in a file format that cannot support specific features". Microsoft. http://office.microsoft.com/en-us/word/HP010500241033.aspx?pid=CH060829791033. Retrieved on 2009-05-15.
- ^ "WD2000: Microsoft Word-Webarchivkonverter for Word 2000". Microsoft. 5. August 2004. http://support.microsoft.com/kb/251336. Retrieved on 2009-05-15.
- ^ "WD2000: Microsoft Office 2000 Web Archive Add-on Available". Microsoft. August 5, 2004. http://support.microsoft.com/kb/252472/EN-US/. Retrieved on 2009-05-15.
- ^ "Download Details: Word Viewer 2003; Overview Section". Microsoft. 8/9/2005. http://www.microsoft.com/downloads/details.aspx?FamilyID=95e24c87-8732-48d5-8689-ab826e7b8fdf&DisplayLang=en#Overview. Retrieved on 2009-05-15.
- ^ "Download Details: Word Viewer; Overview Section". Microsoft. 9/26/2007. http://www.microsoft.com/downloads/details.aspx?FamilyID=3657ce88-7cfa-457a-9aec-f4f827f20cac&displaylang=en. Retrieved on 2009-05-15.
- ^ "About single file Web pages (MHTML)". Microsoft. http://office.microsoft.com/en-us/word/HP030776471033.aspx. Retrieved on 2009-05-15.
- ^ "BlockNote.Net Features". BlockNote. http://blocknote.net/features.shtml. Retrieved on 2009-05-15.
- ^ Spiros, Georgaras (Aug 7 2007). "kmhtConvert". KDE-apps. http://www.kde-apps.org/content/show.php?content=14315. Retrieved on 2009-05-15.
[edit] External links
- MHTML standard explained
- RFC 2557 (1999) — MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)
- RFC 2110 (1997, Obsolete) — MIME E-mail Encapsulation of Aggregate Documents, such as HTML (MHTML)
|
||||||||||||||||||||||||||
|
||||||||||||||||||||||||||

