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
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, to make code changes, we suggest using a text editor or an HTML editor. Not only is it easier to create and modify an HTML file, your source code looks more clean and is less likely to cause incompatibility issues in different browsers.
To use Microsoft Word because of its WYSIWYG (What You See Is What You Get) interface, realize that 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.