Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How to View HTML Source Code for Web Pages in Internet Explorer
Article ID: 176222 - View products that this article applies to.
This article was previously published under Q176222
This article describes how to view the Hypertext Markup Language (HTML) source code for Web pages in Internet Explorer.
Internet Explorer can display the HTML source code for Web pages, but it cannot display encrypted scripts or compiled modules such as ActiveX Controls. Internet Explorer also cannot display the source code for an Active Server Page (ASP). An example of an ASP page is: http://www.microsoft.com/default.asp.
To view the HTML source code for a Web page using Internet Explorer 3.x and later, click Source on the View menu. To view the HTML source code for a Web page using Internet Explorer 2.x, right-click the Web page, and then click View Source.
Many Web pages use frames to display several Web pages on the same screen. To view the HTML source code for a Web page that contains frames, right- click the Web page in a frame, and then click View Source.
Article ID: 176222 - Last Review: January 22, 2007 - Revision: 3.4