How to View HTML Source Code for Web Pages in Internet Explorer

Summary

This article describes how to view the Hypertext Markup Language (HTML) source code for Web pages in Internet Explorer.

More Information

Web pages typically consist of graphics and text written in HTML. Web pages may also use other scripted languages such as Java, JavaScript, Common Gateway Interface (CGI), and Visual Basic script.


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).

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.
Properties

Article ID: 176222 - Last Review: Sep 18, 2013 - Revision: 1

Microsoft Internet Explorer 6.0

Feedback