what is the difference between relative and absolute url?
An Absolute URL is independent or free from any relationship. When you use an absolute URL you point directly to the file. Hence an absolute URL determines the exact location of a file/directory on the internet. It also follows that each absolute URL is unique which means that if two are identical they point to the same file. For example: http://www.geekinterview.com/images/example.gif A relative URL points to a file/directory in relation to the present file/directory.