title: How can I access root directory in HTML? (Using / is not working)
body: <p>So I'm trying to access my root directory in HTML but when I use / it is not working. So for example I'm trying to get my navigation css by doing:</p>
  
  <pre><code>&lt;link rel="stylesheet" href="/nav.css"&gt;
  </code></pre>
  
  <p>The weird thing is, it works perfectly fine when I am using VS Code with the live server extension, but I just recently noticed when I run the index.html file alone none of the links starting with the / work. I know this is the issue too, because when I take away the / in the above line, it works perfectly fine again (only for the homepage page in the root directory already).</p>