MHTML stands for MIME HTML. It is a standard for including resources that in usual HTTP pages are linked externally, such as images and sound files, in the same file as the HTML code. The included data files are encoded using MIME. A common but erroneous name for this format is MHT, after the suffix .mht given to such files by default when created by Microsoft Word, Internet Explorer or Opera.
The key to MHTML is that the content is encoded as if it were an email message, using the MIME type multipart/related. The first part is the HTML file, encoded normally. Subsequent parts are additional resources, identified by their original URLs.
The process for saving a web page along with its resources as an MHTML file is not entirely standardized across browsers that support it. Due to this, the same web page saved as an MHTML file using different browsers may render somewhat differently on each browser.
While the web browser Firefox as of version 1.5.0.4 does not include direct support for saving a web page as an MHTML file, this functionality can be obtained on Windows operating systems by installing the freely available Mozilla Archive Format extension.
The Internet Explorer web browser allows users to save a web page including its resources as a Web Archive, i.e. a single MHTML file. This feature, however, may be unable to save certain complex web pages especially those containing scripts.
Support for saving a web page including its resources as an MHTML file was made available in the Opera 9.0 web browser since the weekly build 8265 (released on March 10, 2006).
An alternative method for attaching resources to a HTML page is replacing all embedded resources with URI schemes.
MIME Encapsulation of Aggregate HTML Documents | MHTML | MHTML