- 1

link

what is absolute and relative link?

30th Jan 2017, 12:39 PM
Shashank Singh
Shashank Singh - avatar
1 Respuesta
+ 1
Absolute link => complete adress / url href="http://planete.gaia.free.fr/images/im.animal/homme/neuro/neurone.regenere.JPG" Relative link => partial path to move from actual place to another href="im.animal/homme/neuro/neurone.regenere.JPG" In first case, from anywhere you are, you've got the referenced image, but in second, you got it only if the page calling it is the right folder containing the relative path ( http://planete.gaia.free.fr/images/ ) With relatives links, you can use specials values '.' for actual folder and almost useful '..' for parent folder. So, with same references image, you can write: href="../../im.animal/homme/neuro/neurone.regenere.JPG" If your source code is located at http://planete.gaia.free.fr/images/folder/subfolder/ ( in example )...
31st Jan 2017, 7:42 AM
visph
visph - avatar