Issues when trying to browse locally stored HTML files on Chrome
P粉715304239
P粉715304239 2024-04-02 21:43:02
0
1
466

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.

P粉715304239
P粉715304239

reply all(1)
P粉208469050

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:

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!