Si tratta di file che contengono una pagina html e tutti gli elementi a cui fa riferimento (come immagini, fogli di stile, ...).
Questo ad esempio è il contenuto di un file mht ottenuto salvato la home page di google:
codice:
From: <Salvato con Microsoft Internet Explorer 5>
Subject: Google
Date: Tue, 19 Sep 2006 20:59:10 +0200
MIME-Version: 1.0
Content-Type: multipart/related;
type="text/html";
boundary="----=_NextPart_000_0000_01C6DC2E.74425B70"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01C6DC2E.74425B70
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.google.it/
=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Google</TITLE>
<META http-equiv=3Dcontent-type content=3D"text/html; charset=3DUTF-8">
<STYLE>BODY {
FONT-FAMILY: arial,sans-serif
}
TD {
FONT-FAMILY: arial,sans-serif
}
A {
FONT-FAMILY: arial,sans-serif
}
P {
FONT-FAMILY: arial,sans-serif
}
.h {
FONT-FAMILY: arial,sans-serif
}
.h {
FONT-SIZE: 20px
}
.q {
COLOR: #00c
}
</STYLE>
<SCRIPT>=0A=
<!--=0A=
function sf(){document.f.q.focus();}=0A=
function clk(url,oi,cad,ct,cd,sg){if(document.images){var e =3D =
window.encodeURIComponent ? encodeURIComponent : escape;var u=3D"";var =
oi_param=3D"";var cad_param=3D"";if (url) =
u=3D"&url=3D"+e(url.replace(/#.*/,"")).replace(/\+/g,"%2B");if (oi) =
oi_param=3D"&oi=3D"+e(oi);if (cad) cad_param=3D"&cad=3D"+e(cad);new =
Image().src=3D"/url?sa=3DT"+oi_param+cad_param+"&ct=3D"+e(ct)+"&cd=3D"+e(=
cd)+u+"&ei=3D9D0QRfjlI5-gQeSBvb8N"+sg;}return true;}=0A=
// -->=0A=
</SCRIPT>
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 vLink=3D#551a8b aLink=3D#ff0000 link=3D#0000cc =
bgColor=3D#ffffff=20
topMargin=3D3 onload=3Dsf() marginheight=3D"3">
<CENTER>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR>
<TD noWrap align=3Dright><FONT size=3D-1><A=20
onmousedown=3D"return =
clk('/url?sa=3Dp&pref=3Dig&pval=3D3&q=3Dhttp://www.google.it/=
ig%3Fhl%3Dit&sig=3D__G4FoAkG2BgZXFScY56sHYkwh_us=3D','promos','hppphn=
u:it_all','pro','1','')"=20
=
href=3D"http://www.google.it/url?sa=3Dp&pref=3Dig&pval=3D3&q=3D=
http://www.google.it/ig%3Fhl%3Dit&si...cY56sHYkwh_us=
=3D">Home=20
page personalizzata</A>|<A=20
=
href=3D"https://www.google.com/accounts/Login?continue=3Dhttp://www.googl=
e.it/&hl=3Dit">Accesso</A></FONT></TD></TR>
<TR height=3D4>
<TD><IMG height=3D1 alt=3D"" =
width=3D1></TD></TR></TBODY></TABLE><IMG height=3D110=20
alt=3DGoogle src=3D"http://www.google.it/intl/it_it/images/logo.gif"=20
width=3D276>
<FORM name=3Df action=3D/search>
<SCRIPT><!--=0A=
function qs(el) {if (window.RegExp && window.encodeURIComponent) {var =
ue=3Del.href;var =
qe=3DencodeURIComponent(document.f.q.value);if(ue.indexOf("q=3D")!=3D-1){=
el.href=3Due.replace(new =
RegExp("q=3D[^&$]*"),"q=3D"+qe);}else{el.href=3Due+"&q=3D"+qe;}}return =
1;}=0A=
// -->=0A=
</SCRIPT>
<TABLE cellSpacing=3D0 cellPadding=3D4 border=3D0>
<TBODY>
<TR>
<TD noWrap><FONT size=3D-1>Web<A =
class=3Dq=20
onclick=3D"return qs(this);"=20
=
href=3D"http://www.google.it/imghp?hl=3Dit&tab=3Dwi">Immagini</A>&nbs=
p;<A=20
class=3Dq onclick=3D"return qs(this);"=20
=
href=3D"http://groups.google.it/grphp?hl=3Dit&tab=3Dwg">Gruppi</A>&nb=
sp;<A=20
class=3Dq onclick=3D"return qs(this);"=20
=
href=3D"http://news.google.it/nwshp?hl=3Dit&tab=3Dwn">News</A>&=
nbsp;<A=20
class=3Dq=20
=
href=3D"http://www.google.it/intl/it/options/">altro=C2=BB</A><=
/FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0>
<TBODY>
<TR>
<TD width=3D"25%"></TD>
<TD align=3Dmiddle><INPUT type=3Dhidden value=3Dit name=3Dhl><INPUT=20
title=3D"Cerca con Google" maxLength=3D2048 size=3D55 =
name=3Dq>
<INPUT type=3Dsubmit value=3D"Cerca con Google" =
name=3DbtnG><INPUT type=3Dsubmit value=3D"Mi sento fortunato" =
name=3DbtnI></TD>
<TD vAlign=3Dtop noWrap width=3D"25%"><FONT size=3D-2><A =
href=3D"http://www.google.it/advanced_search?hl=3Dit">Ricerca=20
avanzata</A>
<A=20
=
href=3D"http://www.google.it/preferences?hl=3Dit">Preferenze</A>
 =
;<A=20
href=3D"http://www.google.it/language_tools?hl=3Dit">Strumenti per =
le=20
lingue</A></FONT></TD></TR>
<TR>
<TD align=3Dmiddle colSpan=3D3><FONT size=3D-1>Cerca: <INPUT =
id=3Dall type=3Dradio=20
CHECKED value=3D"" name=3Dmeta><LABEL for=3Dall> il Web =
</LABEL><INPUT id=3Dlgr=20
type=3Dradio value=3Dlr=3Dlang_it name=3Dmeta><LABEL for=3Dlgr> =
pagine in Italiano=20
</LABEL><INPUT id=3Dcty type=3Dradio value=3Dcr=3DcountryIT =
name=3Dmeta><LABEL=20
for=3Dcty> pagine provenienti da: Italia=20
</LABEL></FONT></TD></TR></TBODY></TABLE></FORM>
<FONT =
size=3D-1><A=20
href=3D"http://www.google.it/intl/it/ads/">Pubblicit=C3=A0</A> - <A=20
href=3D"http://www.google.it/services/">Soluzioni Aziendali</A> - <A=20
href=3D"http://www.google.it/intl/it/about.html">Tutto su Google</A> - =
<A=20
href=3D"http://www.google.com/ncr">Google.com in English</A><SPAN =
id=3Dhp=20
style=3D"BEHAVIOR: url(#default#homepage)"></SPAN>
<SCRIPT>=0A=
//<!--=0A=
if (!hp.isHomePage('http://www.google.it/')) {document.write("
<a =
href=3D\"/mgyhp.html\" =
onClick=3D\"style.behavior=3D'url(#default#homepage)';setHomePage('http:/=
/www.google.it/');\">Scegli Google come pagina iniziale!</a>");}=0A=
//-->=0A=
</SCRIPT>
</FONT>
<FONT size=3D-2>=C2=A92006 Google</FONT></P></CENTER></BODY></HTML>
------=_NextPart_000_0000_01C6DC2E.74425B70
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://www.google.it/intl/it_it/images/logo.gif
R0lGODlhFAFuAOcAAP////f7/+fr/8bX/73P763H96W+7/f3/4Sq91mB1jFl1iFZ1hhNxhhJtRBF
---omissis---
tJVO4iuXobcvZMN0w5fi2i4iKKfIwqnjcpM2xMOVs4mhWsM89MM/BMRAPK+S0A1CFMRDFERDRMRF
ZMRGdMQ7LEQNecRJpMTgCggAOw==
------=_NextPart_000_0000_01C6DC2E.74425B70--