Friday 11 May 2012

How to Make a File Downloadable from Your Website

Steps

1. Upload the file to your server. This can be done by FTP, or by another method. Consult your hosting company for information how to do this. The file to the same folder the HTML-file which links to it is in. Doing this, it will be easier to link to the file.

2. Open the webpage you want the filename to appear on in a basic text editor, such as notepad.

3.  Choose a place where you want the download link to be. You have two options:

  • A word on which people can click to download --> go to step 4
  • An image on which people can click to download --> go to step 6
 4.  Enter the following code on the place you want the link to be:''<a href="yourfile.xxx" target="_blank">'''word'''</a>'' 

5.   Change the yourfile.xxx to the name of the file you want to link to, and the word to the word you want your visitors to click on. --> go to step 8

6.   Enter the following code on the place you want the link to be:<a href="yourfile.xxx" target="_blank"><img src="yourimage.xxx" alt="title_of_image" /></a>
  
7.  If you don't want that annoying box around an image than type this <a href="yourfile.xxx" target="_blank"><img border="0" src="yourimg.xxx" alt="yourimage"></a> 

8.  Change the yourfile.xxx to the name of the file you want to link to, the yourimage.xxx to the image (which is also uploaded in the same folder your HTML file is in) you want your visitors to click on, and the title_of_image with the word you want the visitors to see when keep their pointer over the image for some time. 

9.   Finished! Save the HTML file, upload it to your server and it should all work fine!

0 comments:

Post a Comment

Add Your Comment Below