How to reference to other folders?

I have created a few html-pages and one css-page inside a folder (Webservice). At first I just used to reference to my css-page like this because they were in the same folder

<link rel="stylesheet" href="style.css">

Then I wanted to make it look more clean so I created separate folders for html and css within the already existing folder (Webservice). The new folders were named html and css. If I do it like down below it works, but I need to be able to access the files on other computers/devices as well.

<link rel="stylesheet" href="file:///Users/home/Desktop/Webservice/css/style.css">

It does not work to do like this:

<<link rel="stylesheet" href="css/style.css">

How do I solve this?



Read more here: https://stackoverflow.com/questions/64891793/how-to-reference-to-other-folders

Content Attribution

This content was originally published by Agnes99 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: