MSO tags are the formatting tags that Word includes in your HTML file when you create and save it in Microsoft Word. It increases the size of your file and makes codes difficult to read. MS Word allows you to save your Web page as a filtered HTML file that strips away a lot of extra codes from your file. However, it does not remove MSO tags completely. You can use online tools to produce cleaner HTML code for your website.
Click the "Office" button, and select "Save As" and "Other Formats." The "Save As" window opens.
Select "Web Page, Filtered" from the "Save as type" drop-down list.
Name your file, add an "html" or "htm" file extension to it and click "Save." A warning displays, indicating Office-specific tags will be removed when you save your file in this format. Click "Yes" to proceed.
Remove the MSO tags from your Word file online at Word HTML Cleaner or Textism (see Resources). To use the online cleaner at Word HTML Cleaner, scroll to the bottom of the Web page.
Click the "Browse" button. A dialogue box appears. Find and open the HTML file that contains MSO tags. Click "Process."
Highlight the cleaned HTML code that is generated. To retrieve the HTML code at Textism, click the "Cleaned HTML" tab.
Right-click and select "Copy" from the list.
Open a new document in your favourite text editor, such as Notepad, WordPad or TextEdit. To paste the code you copied into the page, select "Edit" and "Paste" from the menu.
Click "File" and "Save" from the menu to open the "Save As" dialogue box.
Type in the HTML file name of the file you cleaned. Place the file name in quotes, and click "Save."
Remove the MSO tags from your Word file online at W3C (see Resources). Click the "Validate by File Upload" option.
Click the "Browse" button, and double-click the HTML file you want to clean.
Click "Show Source" and check "Clean up Markup with HTML Tidy." Click the "Check" button to remove MSO tags from the file.
Scroll to the bottom of your page, and highlight the cleaned-up HTML code.
Repeat Steps 4 through 7 of Section 2, "Word HTML Cleaner or Textism," to copy, paste and save the updated code.
According to Microsoft Online, you may not be able to edit some Office features when you remove MSO tags from an HTML file.