How to View the HTML Source Code in Internet Explorer

Internet Explorer Logo


Viewing the HTML source of a webpage is one of the easiest ways to learn HTML (Hypertext Markup Language, one of the languages with which websites are built). If you see a layout or function on a website and want to know how it was accomplished, view the source. This is a great way for beginner web developers and designers to learn HTML; in fact, many professionals discover their interest and further their skills in this way.

Here's How

To take a look at the HTML behind any web page you're viewing:

  1. Click on the View menu in the top menu bar.

  2. Click on Source. This will open a text window (usually Notepad) with the HTML source code (as well as any other coding involved) of the page you’re looking at.

Remember, however, that source code can be very complicated. There will probably be a lot of CSS coding and scripting along with the HTML, so don’t get frustrated if you can’t figure out what’s going on immediately.

Viewing the HTML source is just the first step to deconstructing a web page. After that, you can use tools such as Chris Pederick’s Web Developer extension to look at the CSS and scripts as well as inspect specific elements of the HTML. It is easy to do and can be completed in no more than a minute.

On most web pages, you also can view the source by right-clicking on the page (not on an image) and choosing View Source.