When you visit a web page using the Microsoft Internet Explorer, you can see the source code of that web page by right clicking on it and selecting View Source. By default, the source code is opened in the internal source code viewer of Internet Explorer. But you can change it to whatever text editor you want. Here is how :
- Start Internet Explorer.
- From the top-right menu choose, Tools → Developer Tools to open the Developer Tools window. You can also press F12 to bring up the Developer Tools window.
- In the Developer Tools window, from the menu select the File → Customize Internet Explorer View Source → Other as shown
- A file open dialog would open. Browse to the EXE file of the editor you want to use. In the following screenshot, we have chosen the Notepad++ executable file.
- After you click the Open button, it would be set as the default source code viewer.