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

Last reviewed: November 26, 1997
Article ID: Q176222
The information in this article applies to:
  • Microsoft Internet Explorer versions 2.0, 3.0, 3.01, 3.02, 4.0 for Windows 95
  • Microsoft Internet Explorer versions 3.0, 3.01, 3.02, 4.0 for Windows NT 4.0

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


Additional query words: 2.00 3.00 4.00
Keywords : kbui msient msiew95
Version : WINDOWS:2.0,3.0,3.01,3.02,4.0
Platform : WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 26, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.