How to View Page Source in Firefox

By Techwalla Internet Editor

When surfing the Web, you might stumble upon a site that has a particular design or structure you've never seen before. Utilizing the handy View Page Source feature within the Firefox Web browser will enable you to see the blueprints of the site. You can then decide if you want to use some of the ideas from the page source to implement into your own Web creations.

Things You'll Need

  • Computer with Internet access

Locate a Web site to View Source

Step 1

Launch the Firefox browser.

Step 2

Type in the desired Web page URL in order to be able to view the page source. The source function will display all X/HTML code, Javascript or other programming language source code.

View Page Source in Firefox

Step 1

Click anywhere on the Web page, except on a link or image, for a menu to appear. Windows users will need to right-click to generate this menu. Mac users can simply hold down the 'Cmd' button and then click your mouse or track pad. When the menu appears, click 'View Page Source' and a new window will open with all the source code for that particular page.

Step 2

Use a shortcut. You can also press Ctrl + U (Windows) and Cmd + U (Mac) on your keyboard. The page source code will automatically display in a new window.

Step 3

Use the menu option. Select View from the upper menu bar and a drop-down menu will appear. Choose View Page Source to display a new window with the corresponding source code.

Tips & Warnings

  • Get the latest version of Firefox by visiting the download page within the Mozilla Web site (see Resources below).
  • Search for detailed information about how to use certain features of Firefox by visiting the support page (see Resources below).
  • Know that while you're surfing the Internet, the Firefox browser is putting to use its many security features. Some of these features include a pop up blocker and the ability to set warning messages to alert you to encrypted pages.
  • Make sure you've got the minimum system requirements. Mac users should be running Mac OS X 10.2 or higher and have a 233 Mhz processor, 64 MB of RAM and 50 MB of free disk space. PC users should run Windows 98 or higher, have 50 MB of free disk space, a 233 Mhz processor and 64 MB of RAM. Linux owners need Linux kernel 2.2.14, a 233 Mhz processor, 64 MB of RAM and 50 MB of free disk space.
  • Be aware that these steps pertain to the latest version of Firefox, version Using these directions for older versions may not work.