0

What is the difference btw absolute and relative links and how do you program them?

3rd Sep 2016, 10:31 PM
Imim Kalada-green
Imim Kalada-green - avatar
3 Réponses
+ 2
1)relative .....if we know the location..... <img src="../MyImages/flower.jpg" alt="Yellow Flower" width="125" height="125"> 2) absolute if location not specified <img src="flower.jpg" alt="Yellow Flower" width="125" height="125"> if concern is so far for images
4th Sep 2016, 5:27 AM
sandeep velaga
sandeep velaga - avatar
0
Thanks but wat if the image is not in the html file and u don't know the location
5th Sep 2016, 12:30 PM
Imim Kalada-green
Imim Kalada-green - avatar
0
Sandeep, I believe you have got them the wrong way round. Absolute is when the full path is specified, relative is if the full path is not given.
9th Oct 2016, 12:22 PM
Patrick Cage