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

HTML

Nancy Melucci
PLUS
Nancy Melucci
Courses Plus Student 36,159 Points

Using Chrome to open HTML documents

I am working through two web design classes with Nick. I am using IE to open my HTML documents but he uses Chrome. I think I would like to use Chrome also because (for example) my JavaScript alert box didn't open in IE even though the code was correct. But in IE there is an obvious drop down I can use to find my HTML text file...I can't find how to open my text file in Chrome and make it appear...can someone describe how to search for and open the tile in Chrome?

6 Answers

You can also try to copy/paste the url from IE address bar to Chrome address bar.

Right click the file and "Open with" Chrome should work. you can also browse through the files by opening "file:///C:/" without quotes.

you have to select chrome as your defautl browser, chrome will be selected automatically to open any html file.

to do so : Make Chrome your default browser

If you like how Google Chrome works, make it your default browser! By doing so, future links you click will automatically open in Google Chrome. Follow these steps to set Google Chrome as your default browser:

Click the Chrome menu Chrome menu on the browser toolbar. Select Settings. In the "Default browser" section, click Make Google Chrome the default browser. Windows 8 users: To launch Chrome as a Windows 8 app from your Start Screen, follow the steps above and set Chrome as your default browser. Learn more about Windows 8 apps

Change the default browser setting

If you don't want Google Chrome to be your default browser any longer, simply make another browser default. Here are the instructions for making Firefox or Internet Explorer your default browser:

You can also simply use File > Open in Chrome's menu.

Nancy Melucci
PLUS
Nancy Melucci
Courses Plus Student 36,159 Points

Thanks for all these suggestions...I will try them all.

Another solution would be to simply drag and drop your HTML file into the Chrome window.