Introduction to Servers on the Web

Relative paths are usually used when linking to a file that is stored on the same server as the calling file. For example, if you have an HTML file that displays a graphic, you may store the file and the graphic in the same place on the server. If so, you can use a relative path to call and display the graphic. Why should you use relative ... ................
................