So, you want to make a Web Page! - Lesson 14


 
FAQ: How do I link to a _____ file so people can download it?

A: Simple, just link to it. Let's suppose you have a few Microsoft Word documents that you would like to offer. Just link to them...

<A HREF="myresume.doc">Download my resume</A>
<BR><A HREF="mybio.doc">Download my autobiography</A>

Download Mr.D's resume
Download Mr. D's autobiography

You may wonder how to be sure the file gets saved to disk rather than being displayed or loaded or whatever. In short you have little control over what happens when a user downloads a file. Most people know how to right click and Save To Disk. Others may have a plugin to handle the file. Just let people manage that part by themselves. Your job is simply to offer it for download.

If the file is a lengthly file (200+Kb) or a collection of files, you may wish to zip them and offer the zip file for download instead.

 
FAQ: How do I make a link open in a new browser window?

A: Well, first of all, this can be done easily by your visitor if he wishes. All he has to do is right click on the link and choose "Open In New Window".

If we figure that you want to force this action for whatever reason, you can add TARGET="_blank" to the link...

Go to <A HREF="http://home.netscape.com/" TARGET="_blank">Netscape!</A>

One more note about links... It is perfectly acceptable to link to someones page(s) without asking. Links are what makes the Web the Web.

If you're making a page, of course include links if you think it adds value, but try to refrain from having a page that consists of nothing more than links and links that link to even more links!

<< BACK         NEXT >>