I encountered a problem. Simply put, I have a bunch of HTML related files and I want to run them locally on an Android device. For example, I have a index.html file. It contains links to other HTML files, and when I try to click on these links to navigate to another HTML file, I receive "ERR_FILE_NOT_FOUND".
Anchor tag example <a href="add-component.html" >
I'm wondering if I'm doing something wrong. All files are in the same directory, are spelled correctly, and have a valid .html extension. Each file is run individually.
I have tried using different web browsers.
If your index.html file and add-component.html file are in the same directory, you can use the following code as an anchor tag: