It's easy to create a link to a non-HTML file so that your readers can download that file.
Time Required: 5 minutes
- Upload your file to your Web server, and remember what directory it's in.
- Open the Web page to download from in an HTML editor.
- Find the location where you want the download link to be.
- Add a link to the file: <a href="file.zip">download zip file now</a>
- Verify that the URL in the anchor tag is where the zip file is located
- Save your Web page
- Upload the page to your Web server
- Test the link
- You can link to any file you want.
- Images and other Web pages cannot be downloaded automatically.
- Your readers need to hold down the shift key while clicking to save a Web page.
- If the Web server has the MIME types set up, many files will give your readers to open or download the file (such as with Word documents or Excel spreadsheets).
What You Need:
- HTML Editor -or- Text Editor