+ 1

HTML+CSS

might sound like a ridiculous question, but how to i link html to css file? i know that I can link them with <link ...>, but what if css file has another path and not in the same folder as html file?

12th Apr 2017, 5:59 PM
Temirlan Toktabek
Temirlan Toktabek - avatar
1 Answer
+ 5
then add the path to the file relative from the html file: css in subfolder: "path/to/file.css" html in subfolder: "../../file.css" the depth differs according to your folder structure. each ../ means one folder up. you can even go to folders which are right next to each other: ../path/file.css
12th Apr 2017, 6:12 PM
Mario L.
Mario L. - avatar