Videos
I considered it a no-brainer. I was wrong.
I wanted to take along some files to read when I'm out of network reach or in flight mode. The files happen to be quite plain HTML files, no script, just a CSS file defining the simple layout, and that's it. So I copied the HTML and the CSS files onto my phone and tried to open them.
First attempt was from a file manager. It told me that it no idea what to do with an HTML file. I then tried to look for an "open file" entry in Chrome. Nope. Same in Firefox. Then I tried to force-open the files by using a file:///path/to/file style URL - and it actually submitted the whole string to Google as a search string, as if Chrome (and Firefox) had been lobotomized of the file: protocol.
Now I'm at a loss - is there no way to open a simple HTML file on an Android 13 phone?
There are 2 ways for opening .html files in Google chrome.
Way 1 :
Right click on the .html file and select open with Google chrome.
Way 2 :
- Open Google Chrome
- Press ctrl + o
- A window opens
- Navigate to your destination folder and click on your .html file
That's it. There you go.
Hope This is helpful.
Just paste the path of the html file including the .html to the browser. Eg, c://Desktop/user/project/file.html -> paste on url