In chrome for mobile, you can save the opened web page as a PDF. To do that, you have to install the Google Cloud Print application to do this.
Once you have installed it, first open a desired web page in the chrome.
Then click on the menu icon and select on Print option. There you can select the Save As PDF option.
Select the location and click on the ...
Create a new bookmark (bookmarklet) on Mobile Chrome with:
View Source (vs)
Now when on a page, tap the address field and start typing: vs. The bookmarklet should appear, click it and you are ready.
You have 2 options:
You can use a local web server in your Android phone itself. There are many server apps out there in the Play Store, one such app is Simple HTTP Server.
You can put your documents into the folder Android/data/com.android.chrome/files/Download/ in the internal storage. It's absolute path is /storage/emulated/0/Android/data/com.android....
Your question is a little confusing. In this answer I am assuming you want to see the HTML code and not the webpage(which is obtained by parsing the said code).
First you need to find where on device is your html file located. Then you can use a file explorer like ES File Explorer/Pro to long tap the file and select OPEN AS-> TEXT to view the source code.
IN chrome, there is remote debugging facility.
If you install Chrone on your phone.
The website Mobile HTML seems to contain some information. It lists WebGL as supported by following platforms + browsers:
Android 4+ and Chrome 30+, with following comment:
On Chrome 27-29 available enabling an experimental flag. On Chrome 30 it's enabled but on most devices you need to enable the flag 'Override software rendering ...
Or maybe : Offline Browser - Google Play
Download the Web Pages for Offline Viewing
If you want to keep a web page for later on Android, you need Offline
Browser. To use it, just open it up and tap the plus sign to add a new
page to your library
How to Save Web Pages for Offline Access Later - Android
A few people allude to the issue of having spaces in the file name. I will clarify.
Android is based on Linux, and therefore uses a posix file system. This means that file names with spaces cause issues. Don't use spaces if you are creating a file or directory; leave them out or use periods (.), dashes (-), or underscores (_). To load an existing file with ...
You can use Dago Browser (Web Inspector). It allows you to inspect webpages and works flawlessly on my MIUI8.
From its description,
Dago Browser is a web browser with web inspector that can be opened by swipe right from a web browser page and choosing Inspect Element. Once open, it highlights the node on the page as it is selected in the hierarchy. [...]
I'd say in general you should refrain from using any absolute paths in your HTML file,they will almost definitely break as soon as you change devices, and is probably a bad practice regardless of the purpose.
If you want to do this property I'd strongly recommend creating a master folder for all your recipe related files where you'd keep all the involved ...
The simplest thing I can think of is to open the file you want to save as source code, which you can do from Chrome Android by prepending view-source to the URL, like so.
You can then either copy and paste this code into a local file, or use the share button to open it with a compatible app of your choosing.
ANSWER for Android 11 [ UI 3.1 ]
browsing local files (in internal storage space) in Chrome using file:///sdcard/ or file://localhost/sdcard/ one can notice that ONLY MEDIA files and subdirectories (if any) are listed in almost every folder EXCEPT the "Download" folder !!! (but not in its subfolders=subdirs) ...
... this means that NOW (ie....
AFAIK on the latest Android, apps no longer can access internal storage. Which is Chrome will say access denied. Even if you try to open it by yourself with html viewer, it can only access just what you open excluding other files are linked.
Try to use HTTP server.
or use Termux and install apache server
You can connect your phone to a PC or Mac and inspect the device from there. For example if you have Chrome open on your device and you connect it to a PC, open Chrome on the PC and from the development tools you can click on the three dots menu (on the top right, next to the X that closes the dev tools) and then click 'more tools' --> 'Remote devices'. ...
Apart from the "Save to PDF" addon there's another UC Browser Addon which is Save Page
It allows to save a webpage as a complete HTML or a text file. Save as HTML for saving with images in the desired directory of your choice and transfer the saved .mht file to your computer for viewing it later. The default directory is UCDownloads folder.
I'm using Firefox Aurora for Android; I can simply type view-source: in front of the address in the address bar, and a new page loads with the HTML code, etc...displayed in a formatted viewer. I'm not sure if the other browsers have the same functionality, or what the corresponding command for those would be. You can find Firefox Aurora for Android at their ...
Once you transfer files to your Nexus 7 use one of these apps to get to the files:
Solid Explorer or ES File Explorer
To View on the html file on your Nexus 7 use the HTML Viewer app.
Would love a quicker solution, but this works!