It may seem like a daunting process to create a downloadable file on your site, but it is actually very easy with very simple HTML codes. Read this article to the end to understand how to do this.
Method 1 of 1: Create a link
Step 1. Upload the file to your server
This can be done via FTP or in some other way. Check with your hosting company on how best to do this. Place the downloadable file in the same folder as the HTML page file from where the download will be made. This is done to make it easier to link to the downloadable file.
Step 2. Open the page that will contain the link to the file in a simple text editor
For example, in the "Notepad" program.
Step 3. Select the location where the link to the file will be located
You will have 2 options:
- The word users will click to download the file go to step 4
- Or an image containing a link to the file go to step 6
Step 4. Paste the following code where the link to the file will be:'''''word'''''
Step 5. Replace filename.xxx with the name of the file to be downloaded, and the word with the word that will contain the link
go to step 8 Step 6. Paste the following code where you will link to the file.
<img src = " picture.xxx"alt =" picture_name" />
7 If you want not to have this annoying border around the image, then type the following <img src = " picture.xxx"alt =" picture ">
Step 8. Replace filename.xxx with the name of the file to be loaded, picture.xxx - to the name of the image (located in the same folder with the file of the HTML page from which the download will be made), which contains a link to the downloaded file, and image_name is an expression that will pop up if users hold the cursor over the image.
Step 9. Done
Save the HTML file, upload it to the server and everything should work!
- HTML is not as complicated as you think it is. Each link points to a specific file type, causing your browser to launch the program associated with that file type. For example, if the link leads to an HTML page, then your default Internet browser will open, if the link leads to a PDF file, then a PDF reader will launch (such as Adobe Acrobat Reader or CoolPDF Reader).
- Try using the MediaFire service. Place the file on it, copy its link, then paste it between the tags of the file link in the HTML code.
- If the uploaded file is copyrighted, make sure you have permission for it!
- Do not be lazy to check the uploaded file for correctness. Otherwise, it may not launch for users, which will confuse them.