ARCHIVED: Viewing HTML source code
How you see the HTML source code of a web document depends on the browser you're using. Follow the appropriate instructions below:
-
Firefox and Mozilla: Right-click the page and
select
View Page Source. To see the source of an individual frame, right-click orCtrl-click the frame and selectThis Frame, and thenView Frame Source.
-
Internet Explorer: From the
Viewmenu (IE 9) or thePagemenu (IE 8), selectSource.If the menu bar is hidden, press
Altto make it visible.To see the source for frames, right-click within the frame, and from the pop-up menu select
View SourceorView Frame Source. -
Chrome: From the options wrench icon on the upper
right, select
Toolsand thenView Source, or right-click and selectView page source. To see the source for frames, right-click within the frame, and from the pop-up menu, selectInspect Element.
-
Safari: In Safari 6, from the
Preferencesmenu, clickAdvanced. In the window that opens, checkShow Develop in Menu Bar. From theDevelopmenu that now appears, chooseShow Page Source. Alternatively, you can right-click orCtrl-click and select this same option.In earlier versions of Safari, from the
Viewmenu, selectView Source. To see the source for frames, right-click orCtrl-click within the frame, and from the pop-up menu, selectView Frame Source. -
Opera: Right-click and select
Sourcefrom the menu. To see the source for frames, right-click within the frame, and from the pop-up menu, selectInspect Element.

