+ 3
[SOLVED] How do I open a HTML file in a browser?
40 Answers
+ 18
Click two time on the .html file, it will be automatically opens in the browser.
In alternative you can drag your file in the browser manually, maybe you already know how to drag&drop an element with your mouse.
@Tiago, type the whole URL path in the URL bar? Maybe it's a little bit hard ^^
+ 11
double click on html file..then it will be open..
+ 6
double click on .html file and it will be automatically opened.
+ 4
double click on the file
+ 4
Firstly save your html file by going to file menu and then save as option,
And give a name to your file like basic.html and click OK.
After that close the html file and you will see your file in browser named basic
+ 3
Right click > Open with > Your preferred browser
+ 3
If you are using text editor notepad++ , its v simple to open the file in browser.
On the top menu there is an icon (run) with diff options. Chrome,Mozila etc. You can run directly from here in any browser.
(((((Sorry for my bad Eng))))) 😰😰
+ 2
in address string - file://path_to_your_html
+ 2
In case you wanna know for Android (Chrome) -
Type this in browser search bar - File:///
Copy the path of the file and put it after like this
Fill:///path of the file
eg - File:///projects/web/index.html
+ 1
Double click on the HTML file or use XAMPP
+ 1
double click it or open it with web browser you want
0
Just type the path of your html file at the address bar of your browser
0
Or...If you are trying to open a page using JS, you can use window.open ()
0
In Notepad++ click Run and then Launch in Chrome
0
I'm shocked that you're asking this question, but you know how to visit sololearn.
0
double click html code file
0
save the file with (.html) prefix and then open it
0
Save Notepad file. Use Extension html or open with browser
0
just double click on the.html file
- 1
is the file saved as .html which os are u on?