MIME Encapsulation of Aggregate Documents, such as HTML — Wikipédia
A wikipedia article, free l’encyclopéi.
MHTML ( .mhtml or .mht ) is a file format offered for standardization by the IETF in 1999 as part of an RFC entitled ” MIME Encapsulation of Aggregate Documents, such as HTML »( RFC 2557 [ first ] ). This is an open and non-owner file format allowing you to save and send an HTML file which includes in its body, in mime format, images and other external elements of the corresponding HTML page . This format is natively supported by Internet Explorer browsers (from the version 6 ), Opera and Google Chrome.
This is a text file, saved with the extension .mhtml or .mht :
Subject:Date: Wed, 15 Dec 2004 10:05:01 +1000 Content-Type: multipart/related; Content-Transfer-Encoding: quoted-printable Content-Location: file://C:/fichier.html This is a multi-part message in MIME format. --'''separation''' Content-Type: text/html; Title ... --'''separation''' Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: file://C:/image.gif RHLJbDYX0KhHzv7yGcCgghhgHLJbDYX0KhHzv7yGcChkNdjn+Nfn+NXm98/i98rf9sfe9b/Z9L3X 87fU8qP8afL8AHzvfg7yGcChkNIwMZHLJbDYX0KhHzv37yGcChkNIw2Oj5AAAZIAlhAAACwAAAAA er8JhHg8PhgQBrPZwG673+6CoUCv2+91gn5PGPT7fgOCg4SFhQKIiYoCAY2Oj5AAAZIAlJWXACEA 4SFh== --'''separation'''--
Several browsers support the MHTML format, either directly or thanks to extensions. However, the way of saving a page and its resources is not standardized, which can cause compatibility problems when you want to read with a browser an MTML file created by another browser.
Internet Explorer [ modifier | Modifier and code ]
The .MHT format was introduced in the Internet Explore 5 [ 2 ] . However, he manages the scripts included in certain pages. On the Internet Explorer 8 And 9, MHTML is the default recording format.
Opera [ modifier | Modifier and code ]
Opera supports the MTML format from the version 9.0 browser [ 3 ] .
Firefox [ modifier | Modifier and code ]
The absence of MHTML support in Firefox is considered a browser bug in 1999 [ 4 ] . However, you could read and write MHTML files in Firefox thanks to extensions. Mozilla Archive Format ( [first] ) And UNMHT ( [2] ) have extensions offering the MHT support for all versions of Firefox superior to Firefox 1.0 . However, these extensions may encounter incompatibility problems with Internet Explorer .MHT files [ 5 ] .
In the years 2010+, (and perhaps before), the ‘Android’ versions’ read and write ‘natively’ the format ‘.mht’.
Google Chrome, Safari, Konqueror [ modifier | Modifier and code ]
Safari and Konqueror offer no native support for the MHTML format.
Google Chrome 14 offers its support from , as well as Google Chrome Canary and the engine WebKit since .
ACCESS NetFront [ modifier | Modifier and code ]
Netfront 3.4 (on devices like the Sony Ericsson K850) allows you to view and save MHTML files.
- (in) ‘ MIME Encapsulation of Aggregate Documents, such as HTML (MHTML) », Request for comments n O 2557, .
- (in) ‘ New features in the Internet Explorer 5 » , Microsoft, (consulted the ) .
- (in) Claudio Santambrogio , ‘ …and one more weekly!» , Opera Software , (consulted the ) .
- (in) ‘ MTML support in Firefox » , Mozilla, (consulted the ) .
- (in) gardenerstouch , ‘ Feature Request: Support MS Web Archive Files » , MozillaZine, (consulted the ) .
Recent Comments