mhtml:- Reading .mhtml files

Background

This last weekend I reviewed Google’s Chrome documentation on Wikipedia.

I was led by reviewing some of the security lapses that have been discovered in Chrome in the last few weeks.

Definition

Standards

MHTML

Wikipedia

Link

MHTML, an initialism of “MIME encapsulation of aggregate HTML documents”, is a Web archive 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.[1] 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.

The .mhtml (Web archive) and .eml (email) filename extensions are interchangeable: either filename extension can be changed from one to the other. An .eml message can be sent by e-mail, and it can be displayed by an email client. An email message can be saved using a .mhtml or .mht filename extension and then opened for display in a web browser or for editing other programs, including word processors and text editors.

 

 

Google

Chrome

Wikipedia

Link

The desktop edition of Chrome is able to save pages as HTML with assets in a “_files” subfolder, or as unprocessed HTML-only document.

It also offers an option to save in the MHTML format.

 

Lineage

HTML File & Sub Files

In the past when one saves an HTML page the following happens:-

  1. HTML File
  2. A Sub-Folder is Created; the created subfolder’s name will mimic the name given to the HTML File
  3. Individual parts are saved as unique files in the created sub-folder

 

MHTML

Now, a single file is created.

Individual components of the file are saved within the same file.

 

Reading MHTML File

Chromium

To read an MHTML file within a Chromium-based browser, please do the following:-

  1. Launch Chromium-Based Browser ( Chrome, Edge )
  2. In the Address Bar, access the file open dialog by entering the key combination ( CTRL-O )
  3. From The File Open Dialog, please navigate to the folder that contains the MHTML file and select the .mhtml File
  4. The browser reads the .mthml file and renders its content

 

Dedication

Dedicating to the great ones:-

  1. Eric Schmidt
  2. Sergey Brin
  3. Larry Page
  4. Sundar Pichai

 

Listening

Technology

Google

Chrome

  1. Eric Schmidt
    • Eric Schmidt – Birth of Google’s Chrome
      Date Published:-2021-May-25th
      Date Added:-2024-June-6th
      Link

 

Music

  1. Fireboy DML & Asake
    • Fireboy DML Ft. Asake – “Never see me coming” OFFICIAL MUSIC VIDEO.
      Date Published:-2022-August-16th
      Date Added:-2024-June-6th
      Link

 

LOL

As I was writing this out, a new Chrome update was availed.

I like Eric Eric Schmidt’s take:-

I know you are smart and all.

But, we are not going to do an OS and a Browser ’cause Microsoft will kill us.

I have been previously killed in my last jobs.

 
 

Fam, what did God allow to lay down, so this one can live.

Leave a comment