title: How to save webpage with all styles and images similar to evernote?
body: <p>If you look at <a href="http://evernote.com/" rel="nofollow">evernote</a> or use their <a href="http://evernote.com/webclipper/" rel="nofollow">web clipper browser addon</a>, it can save a webpage completely with all styles and images of page clipped. So for example if I save this very page with it, it will be saved as is.</p>
  
  <p>Does any one have an idea of how evernote does it? I want to do it with either PHP or JavaScript but am not sure how to save a webpage with all styles and images. I know about Internet Explorer's <strong>mht</strong> format but that's not what evernote does.</p>
  
  <p>So basically it would be great if one can save a webpage with <strong>all styles and images (excluding dynamic content such as JS) in single file and be able to open it in any major browser</strong> ? Any pointer to such script would also be helpful.</p>
  
  <p>I have also noticed similar thing in <strong>Gmail</strong>, when you copy any part of page and paste that in Gmail Compose, it renders it as it was or same happens in <strong>MS Word</strong> too.</p>
  
  <p>Thanks for your help and hints :)</p>