I opened a notepad and typed some html tags and saved it with .html extension. But to view that in a browser I need to right click and select Internet Explorer from the list. What should I do to make that cha开发者_如何学编程nge as soon as I give .html to browser format?
Right click->Open with.
Then choose your program (IE), and note the little Always use this program.... checkbox at the bottom.
Don't forget to click OK.
I think what you're looking to do is set the default program for opening filetype '.html'
Right click, and do 'Open With'. Find the browser you want to open .html files with, but before clicking OK, check 'Always use this program to open this type of file'
From then on, you can just double-click your .html file and they will open in your browser.
精彩评论