Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Sofya Lopatina
Sofya Lopatina
6,525 Points

How can I open notepad with browser?

(PHP Development, HTML, Introduction,Grobal Structure)

3 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

are you trying to open notepad from within the browser or trying to run a file created with notepad in the browser?

  • you cannot really run notepad from the browser. You just go to your programs or apps and open notepad.

  • if you created a file in notepad and want to run it in the browser, simply save the file with a .html extension (I'm assuming you are creating an html file based on the video you referenced). You can then either right click on the file and choose open with -> your browser. Or open your browser and use the file->open dialog to navigate to the file and open. Finally you may (depending on system and browser) be able to simply drag and drop the file on your browser window to open it.

hope that helps

Or check out this code editor Sofya http://brackets.io/

Looks really good! :-)

If you're asking how to open an .php archive on your web browser, you need an apache server like EasyPHP, Xampp, Vertrigo... Sorry bad english, not my native language.