"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Opera

View Web Page Source in Opera or External Program

SUMMARY: Display the HTML source of a web page viewed in Opera, optionally in Notepad or another external program.


 

It's easy to view the source HTML of a webpage viewed in Opera. Just click "View" - "Source" or press CTRL + U. By default, the webpage source will appear in a new tab.

However, what if you want to view the source code in the operating system's default editor (such as Notepad or Wordpad for Windows machines), or perhaps with a third-party text editor? Doing so requires a small tweak:


Viewing source code of a web page inside the Opera web browser




1. Click the "Tools" menu, selecting "Preferences". Or press Ctrl + F12.

2. When the "Preferences" multi-tabbed dialog box appears, click the "Advanced" tab.

3. On the left side of the "Preferences" dialog box, select "Programs".

4. On the right side of the dialog box, near "Choose application for viewing source", click the "Edit" button.



Choosing to use a different program for viewing HTML source code in Opera




5. The "Source viewer" dialog box appears. There are several options including:

* Open with Opera (default)

* Open with a default application

Click this radio button and the default application opens (if on Windows, it is Notepad).

* Open with other application

From here, click the "Browse" button to choose an application to open for viewing the source code. Then underneath "Parameter" add any command line parameters necessary for viewing the source.

For example, on Windows machines to open web page source code in Wordpad, you need to browse and select the following file:

C:\Program Files\Windows NT\Accessories\wordpad.exe


Changing Opera's source code viewer to Notepad




6. When done, click "OK" on the dialog boxes to close them.

This tip was written regarding Opera v10.1 running on a Windows XP machine. Features, information, and screenshots for other versions / operating systems may vary.




 

Got something to add? Post a comment!

Everyone is invited to submit comments. Registered users also receive their own visitor profile page with a summary of recent posts.
Register | Login

Your name:
 E-mail:
* Home/Blog Page:
Comment:
(Max chars: 5000)

* = optional field

 


Print This Tip

Get E-Mail When New Tips are Online

Return to the Opera page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )