Creating Links that Download Files

You might have content that you want to offer your visitors, but don't want to turn into a Web page. For example, if you have a long story, report, or other document in a word processing file, you might want to offer that file for downloading rather than turn it into a Web page (or series of Web pages).

You can offer any kind of computer file for downloading—documents, sound clips, or pictures, for example. The steps for creating links to files are the same—no matter what type of file you want to offer—as the following example shows.

One caveat to keep in mind: To use a file you provide, the visitor must have the right program. For example, if you publish a Word file, the visitor must have a program that can ...

Get Sams Teach Yourself Internet and Web Basics All in One now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.