I’m trying to figure out how to use files in HTML but for some reason this code isn’t working.
<html> <title>HTML Experiments</title> <h1>This is a website that I made</h1> <ul> <li>Here is another file: <a href="InsideTheRootFile#1.html">another file</a></li> <li>Here is an extra file: <a href="extras#1/insideextras.html">extras</a></li> </ul> </html>
Index.html is the code that is shown above. When I run index.html everything looks fine but neither one of the links work.
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.