You don't need a complete path (absolute path) in the links. If you have all the html files in the same folder, all you need is the file name (relative path).
If you do this you won't need to change the links when you upload it to the web host. It'll work on your hard drive the same as on the internet.Code:<a href="index.html">Home</a> <a href="pics.html">Pictures</a>
The same goes for images. If you have a subfolder called images, the image file path will be:
(Add, height, width, alt, etc in the tag.)Code:<img src="images/filename.jpg">





Reply With Quote