How to view the source code for a web page using the Firefox browser

How to view the source code for a web page using the Firefox browser

The Firefox browser comes loaded with a lot of features, some of which are immediately useful and you find yourself accessing them every day and some that are there but are mostly developer-friendly features and not ones that you may want or find useful. A feature that comes in the latter category is the page source feature. This feature allows anyone to view the source code of a particular web page. Now, for obvious reasons, you cannot make changes to the web page as it would be downright criminal, but if you are a developer, you can view the source code of your favorite web pages and use the same as an inspiration to create your own. This feature is available in almost every market-ready browser, but we found that Firefox just does it better than the rest. So, if you are wondering how you can access this feature, then follow along.

Disclaimer – This tutorial is being written using the Mac version of Firefox, but the layout is identical on the other versions as well. So, irrespective of the flavor of Firefox you have, this feature will work.

Step 1. Open the Firefox browser on your computer.

 

How to view the source code for a web page using the Firefox browser

 

Step 2. Browse to the web page that you want to view the source for.