Curtis Johnstone Curtis Johnstone's Personal Blog

November 14, 2011

Microsoft Word – Saving to Clean HTML

If you have ever used Microsoft Office to author a document, and then saved it as HTML, you know that the HTML document is littered with large amounts of Microsoft Office-specific tags , including tags used by Microsoft Word to format the document.  This is good if you plan to keep editing the document in Microsoft Office, but not so good if you plan to post the resulting HTML file on a Web page or edit it with another HTML formatting editor.

Microsoft Word 2010 has a file format that you save your document to called “Web Page, Filtered”. This will remove the Office specific tags and only keep the formatting tags necessary to render your document in HTML – as it appears in Word.

Note: saving in this format might prevent you from using some Office features in this document if you edit it in Microsoft Office at a later date.

It is a quick and easy way to clean up the resulting HTML of your Word document though.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress