Use Gmail to Reduce Word HTML File Size

Published in Gmail by Aditi Tuteja

Most simple and quickest way that I often use to convert a Word document into HTML is by sending it to a Gmail account as an attachment. With this method, you can maintain your file format as .doc.

  • Simply use any of your email programs.
  • Attach your Word document (the .doc file format) to the outgoing email.
  • Send the email to any of your Gmail account.
  • Open the Gmail email with the attachment.
  • Now click the link at the bottom that says “View as HTML”. The document will open in your browser.
  • You can now right-click in your web browser and select “View Page Source” or “View Source”
  • Copy and paste the contents into a HTML editor or Notepad. Don’t paste it back into the Ms Word.
  • Scroll toward the top of your file and look for the code Google adds to download your file. You should remove this link.

    <div style=”background:#ffffcc;padding:4 8;border-bottom:thin solid #eeeeee;font-family:Arial,sans-serif”><a href=”/mail/?attid=0.1&disp=attd&view=att&th=1192fa6dbxxxxxxx”>Download the original attachment</a></div></div><div style=”margin:1ex”>

  • If you require you can make any changes in your code editor.
  • Save your file with the .htm or .html extension.
  • Simple and the Job is done… works great for some quick landing pages.

Popularity: 2%

Like this post? Subscribe via RSS or Email

This article was written by Aditi Tuteja on 25 May 2008
Aditi is the founder and Chief Editor of RealGeek.com


Leave a Reply

RealGeek Recommends

Join RealGeek

Banner