Back in the "day", I used to use relative paths, for every resource reference in an HTML page. Whether it was a "link" to scripts, styles, or images, a relative path would ensure I could do BASIC testing of a page by just dragging the html file to a browser, which would happily display a LONG url beginning with "ffile:///C:/ ..... ".
These days, it always seems best to at least reference everything to the root, "/", which any web server hosting will redirect to your "public_html" root for your domain. This is apparently better coding practice, and it does solve a lot of twisty "path" problems, when one object must reference another.
If I want to do basic testing of my site pages without setting up a web host, are there any other options for Windows? Yes I know I could set up a physical disk drive with separate partitions for separate web site page tests, But that's a lot of work. Maybe there's a virtual "drive" I could install for each site? Or maybe there is some way to do this just using a "path" variable in a batch file?