MHTML
Sign in to saveAlso known as MIME HTML, .mhtml, .mht, mht
MHTML, an initialism of "MIME encapsulation of aggregate HTML documents", is a web archiving file format used to combine, in a single computer file, the HTML code and its companion resources (such as images) that are represented by external hyperlinks in the web page's HTML code. The content of an MHTML file is encoded using the same techniques that were first developed for HTML email messages, using the MIME content type multipart/related. MHTML files use an .mhtml or .mht filename extension.
Key facts
- File format.name
- MHTML
- File format.extension
- .mht, .mhtml
- File format.genre
- Markup language
- File format.extended from
- HTML
via Wikipedia infobox
Wikidata facts
Show 4 more facts
- file extension
- mhtml
- media type
- message/rfc822
- Stack Exchange tag
- stackoverflow.com/tags/mhtml
- file format identification pattern
- 46726F6D3A20
Sources (2)
via Wikidata · CC0
~8 min read
Article
12 sectionsContents
- Layout
- MIME type
- Supporting apps
- Web browsers
- Other apps
- Exploits
- Alternatives
- Data URI scheme
- Mozilla Archive Format
- See also
- References
- External links
MHTML, an initialism of "MIME encapsulation of aggregate HTML documents", is a web archiving file format used to combine, in a single computer file, the HTML code and its companion resources (such as images) that are represented by external hyperlinks in the web page's HTML code. The content of an MHTML file is encoded using the same techniques that were first developed for HTML email messages, using the MIME content type multipart/related. MHTML files use an .mhtml or .mht filename extension.
The first part of the file is an e-mail header. The second part is normally HTML code. Subsequent parts are additional resources identified by their original uniform resource locators (URLs) and encoded in Base64 binary-to-text encoding. MHTML was proposed as an open standard, then circulated in a revised edition in 1999 as RFC 2557.