title: How do you apply relative paths for locally developed HTML files
body: <p>I know the subject line must sound really stupid. Of course you would locally develop HTML files - didn't know how to phrase it better since I'm a beginner at HTML+CSS.</p>
  
  <p>So to get to the point:</p>
  
  <p>I'm linking to images and pages on the HTML file I'm editing. However, when I open the HTML file in my browser locally the links are broken because I'm not using an absolute path. My preference is to use relative path because I'll be able to simply move my project file folder onto my server without having to change the URL paths in my HTML files.</p>
  
  <p>My question is: How do I get the relative paths to point to where I want without having to list the entire drive directory? </p>
  
  <p>Ex. My local HTML has the following line:</p>
  
  <pre><code>&lt;img src="/images/logo.jpg"&gt;
  </code></pre>
  
  <p>But opening the local HTML file in my browser, the image is broken since it points to: <code>file:///D:/images/logo.jpg</code></p>
  
  <p><strong>How do I get it to point to {local root}/images/logo.jpg instead?</strong></p>