Tansy has attended:
Dreamweaver 8 Introduction course
Absolut and relative links
Hi,
I understand the theory of these, but where do they get used in practice?
T
RE: absolut and relative links
Hi Tansy,
Thanks for attending our Dreamweaver 8 Introduction course.
To link from one website to another requires an absolute link, because you need to specify http://, the full domain name and the page of the link.
eg. if you wanted to link to /products.html on another web site, clearly you would need to specify the domain name too: http://www.domain.com/products.html
When linking to your internal pages or documents, it's best to use relative linking. It saves space on code, and if you ever change the domain name or intranet name, you won't need to go and update all the pages with correct domain name.
eg. if you are on page http://www.domain.com/home.html and you wanted to link to /products.html then just link to "/products.html" rather than "http://www.domain.com/products.html"
I hope this clarifies the two for you. If you would like more information or an expansion, please reply to this post. Otherwise, please mark the post as resolved.
Good luck with your web development and we look forward to answering more of your questions soon.
Regards, Rich