In earlier versions of Microsoft Word, the Save as HTML
command created basic HTML documents based on your Word formatting commands.
Microsoft provides an HTML filter that you can download, install, and use alone or with Microsoft Word to strip Office-specific codes from HTML documents, creating much cleaner coding. Word 2002 and later incorporate this filter as an option by default; from the File
menu (or Office Button menu in Word 2007), select Save As...
to save your document. Then, under "Save as type:", select Web Page, Filtered
.