+ 1

Relative Vs Absolute Path

Can someone explain the difference between a relative and an absolute Path ? Any help would be appreciated !

21st Aug 2018, 2:42 PM
ninjagirldraws
ninjagirldraws - avatar
1 Odpowiedź
+ 2
Relative is like shorthand. You will need to tell the file what the base path is in the head of your HTML file. https://www.w3schools.com/tags/tag_base.asp An illustration: https://css-tricks.com/quick-reminder-about-file-paths/ (You can also accomplish this in a CSS preprocessor but it's pretty complicated.) https://css-tricks.com/snippets/sass/simple-asset-helper-functions/
21st Aug 2018, 3:07 PM
Janning⭐
Janning⭐ - avatar