admin管理员组文章数量:1130349
I'm aware that my question is a basics, but still I'm struggling.
I don't understand why my link <a href="Articles/every_ethic_without_dead_end_is_utilitarian.html"> doesn't work (Your file couldn’t be accessed - ERR_FILE_NOT_FOUND error) while:
- the HTML file containing this link is at the root of the website folder (it's
index.html) Articles/every_ethic_without_dead_end_is_utilitarian.htmlexists indeed (starting from the root of the website folder)
My file tree is:
├── drwxrwxr-x Articles
│ └── -rw-rw-r-- every_ethic_without_dead_end_is_utilitarian.html
└── -rw-rw-r-- index.html
According to this page (for example) it should work but it still doesn't.
And I've got the same problem for the CSS files and the icon file: it works with absolute paths but not with relative ones.
I'm aware that my question is a basics, but still I'm struggling.
I don't understand why my link <a href="Articles/every_ethic_without_dead_end_is_utilitarian.html"> doesn't work (Your file couldn’t be accessed - ERR_FILE_NOT_FOUND error) while:
- the HTML file containing this link is at the root of the website folder (it's
index.html) Articles/every_ethic_without_dead_end_is_utilitarian.htmlexists indeed (starting from the root of the website folder)
My file tree is:
├── drwxrwxr-x Articles
│ └── -rw-rw-r-- every_ethic_without_dead_end_is_utilitarian.html
└── -rw-rw-r-- index.html
According to this page (for example) it should work but it still doesn't.
And I've got the same problem for the CSS files and the icon file: it works with absolute paths but not with relative ones.
本文标签: LinksCSS and icon require absolute paths in HTML (relative paths not working)Stack Overflow
版权声明:本文标题:links, CSS and icon require absolute paths in HTML (relative paths not working) - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1740899293a1793582.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论