“view-source:” command is a browser command that can be used to view the source of a web page. Also you can view source of a web page by selecting the “view source” option in the right click context menu.
Usually the source of the web page opens in the internal editor. But if you want to validate the elements of the page, the default editor may not be suitable. One option is to copy the contents from the default editor to the web page editor of your choice. Another option is to attach an external editor so that whenever you try to view the source of the web page it will open in the external editor.
Before learning to configure external editor to view source let us check the “view-source:” command which is available on almost all browser software available in market.
Related Articles:

• View Personalized Patterns In Firefox Browser Usage
• Firefox Tab Width : How to Change Minimum and Maximum Tab Width?
• Disable Caret Browsing in Firefox

## “view-source:” command with Google Chrome, Firefox and IE

You can use the “view-source:” command to view the source of any web page. This command will help you to view the source code without first accessing the page itself. All the major three browsers Google Chrome, Firefox and IE offer this feature.

### How to use “view-source:” command?

The following is the syntax of the “view-source:” command. Type it is the address bar and the browser will fetch the source code of the page for you.

1 view-source:http://www.example.com/examplepage.html

## How to Configure Firefox to View Source in External Editor?

Let us see how to configure the Firefox browser to view the source in an external editor of your choice. Follow the steps below to configure this.