How to view the HTML source code in Microsoft Word
Microsoft Word supports the ability to save any document as a web page. However, there is no way to view the source code in the most recent versions of Microsoft Word.
Microsoft Word 2007, 2010, and later
As mentioned above, there is no way to view the source code of an HTML document in the most recent versions of Microsoft Word. However, if you open the document in any browser, you can view the source using the browser.
While viewing the source code is possible in a browser making changes is not easy, which is why we suggest using either a text editor or an HTML editor instead of Microsoft Word. Not only is it easier to create and modify an HTML file, your source code is going to be cleaner and less likely to cause incompatibility issues in different browsers.
If you want to use Microsoft Word because of its WYSIWYG interface, realize that many of the more profession HTML editors also have a WYSIWYG interface. For example, Microsoft Expression Web is now free and has an easy to use interface.
Microsoft Word 2003
Microsoft Word 2003 did support the ability to view the HTML source code by clicking View and select HTML source.