Viewing HTML Source Code

Whether you save a file as a Web page, a filtered Web page, or a single file Web page (.mht), the page information is saved as HTML source code. HTML source code is the actual code that a browser translates to display a Web page. In Word 2003, this is not only HTML but also includes XML, CSS, VML, and the scripting languages. If you want to access this code—for instance, to modify the JavaScript—you can access the code from the menu under View, HTML Source. The source code is displayed in Microsoft Script Editor window, as shown in Figure 24.8. Notice in Figure 24.8 that the keywords and title entered in Figure 24.7 appear in the <HEADER> section.

Figure 24.8. Viewing the HTML source code of a Web page in the Microsoft ...

Get Special Edition Using® Microsoft® Office Word 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.