What's the difference between the absolute path and the relative path in linking a CSS file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the difference between the absolute path and the relative path in linking a CSS file?

I'm a complete newbie, just starting Css. Kindly help me out.

29th Oct 2017, 6:05 AM
Trishna Das
Trishna Das - avatar
2 Answers
+ 3
Absolute paths are "absolute" in meaning of the path to go trough to reach the ressource need to be explicit from its start (ie: the server domain name), against relative paths are relative to the emplacement of the file hosting the relative path reference (ie: usually the path starting implictly from the html file directory, without the full 'absolute' path going to it)...
29th Oct 2017, 6:55 AM
visph
visph - avatar