WD2000: How to Use the HTML Filter in Word 2000

ID: Q236967


The information in this article applies to:
  • Microsoft Word 2000


SUMMARY

When you save a document as a Web page in Word 2000 by using Save as Web Page on the File menu, Office adds Office-specific markup to the standard Hypertext Markup Language (HTML) and cascading style sheet markup. If this information is not needed, the Microsoft Office HTML Filter 2.0 can be used to remove it.


MORE INFORMATION

This additional markup fully preserves rich text formatting and page layout and allows Word to "round-trip" documents between binary and HTML format. The Office-specific markup increases HTML file size, sometimes considerably.

However, if you do not need to edit the HTML version of a document, you can trade round-trip capability for smaller file size by using the Microsoft Office HTML Filter. The filter removes Office-specific markup from HTML files created in Word, so that they take up less storage space on Web servers and take less time for users to download.

NOTE: This process does not affect the appearance of your Web pages.

The self-extracting, downloadable filter is available from Microsoft Office Update at the following location:

http://officeupdate.microsoft.com/2000/downloadDetails/Msohtmf2.htm

What Happens When You Use the Office HTML Filter in Word?

After you download and install the Office HTML Filter, a new command, Export to HTML, appears on the File menu, and the Export to HTML button appears on the Standard toolbar. When you start the filter by clicking Export to HTML, Office-specific markup is automatically removed, which means that you won't be able to use certain Word-specific features when you edit the document again.

The filter does not change how Web pages look in browsers, and it does not affect your original Word document. What changes is your ability to edit elements of the document in the HTML version that are supported by the Office-specific markup.

NOTE: You can use the filter on .doc, .rtf, .txt, or .htm files.

To Use the Office HTML Filter in Word:

To use the Office HTML Filter in Word 2000, follow these steps:
  1. Open the document that you want to use the filter on.


  2. On the File menu, click Export to HTML.


  • When you use the filter on a .doc, .rtf, or .txt file, you see a message that your Word document was exported to HTML.


  • When you use the filter on an .htm file, you see the following message:


HTML does not support certain types of formatting possible in Microsoft Word. If you added that kind of formatting to this document, it will be lost after exporting to HTML. Do you want to export this document to HTML?
When you click Yes, the document opens.


IMPORTANT--Information can return: On the View menu, when you click HTML Source, you again see the Office-specific markup, because Word adds the information back.

NOTE: You can use the filter without opening Word by using the Office HTML Filter dialog box. On the Start menu, point to Programs, point to Microsoft Office Tools, and then click Microsoft Office HTML Filter. You can select multiple files to filter at one time.

When you use the Office HTML Filter dialog box, you can also filter Microsoft Excel 2000 files saved in HTML format. The Export to HTML command, however, is not available from within Excel.

Additional query words: peeler stripping utility

Keywords : kbdta
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: October 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.