Unhandled Perception
From the mind of a developer.

Thursday, December 01, 2005

Word + HTML = Bad Markup

If you must use Word to create a HTML document then at least clean the code of all (some) of the Word only tags thats inserted in the markup.

Word 2003 / XP:
  1. Re-think this approach and make sure you really, really must use Word for this
  2. Select File -> Save As Web Page
  3. From the Save as Type drop down select Web Page, Filtered
Word 2000:
  1. Download the Office 2000 HTML Filter
  2. Install the Filter
  3. Open the document to clean
  4. Select File -> Export To -> Compact HTML

If you think this will create good HTML code then you would be completely wrong. This produces cleaner code, but only cleaner for Word - still garbage.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home