I have an information page at the back of my site with some downloadable .PDF and .DOC documents for my clients.
How do I put in a correct hyperlink to the document so the site opens the page?
I have an information page at the back of my site with some downloadable .PDF and .DOC documents for my clients.
How do I put in a correct hyperlink to the document so the site opens the page?
let's say your site is http://example.com and your directory is /home/user/public_html. If you put your files inside of public_html, you can access the files either by providing an absolute URL http://example.com/file.doc or by a relative URL file.doc or ./file.doc. If you add a <base> in your <head> then you must provide the absolute URL or the relative path from the base. In example, if your <base> is http://example.com/img your relative URL would be ../file.doc
gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer