+ 1
What is the different between relative path and the absolute path to define href?
Css basics (external css)
2 Antworten
0
A relative path is one that depends on the directory, which means if you change your html file somwhere else it won't work, for example: href='file.html', or 'folder/file.html'
An absolute path will work no matter where your html file is, like this: /home/user/webdirectory/file.html
or /home/user/webdirectory/folder/file.html
Weak explanation, but hope you understood
0
Thank you so much