WWW FAQs: Is it legal to link to other websites?

2004-02-14: I am not a lawyer and I cannot give legal advice. If you have serious legal concerns, consult a lawyer.

Roughly speaking, the courts have held that:

  • Linking from one website to another in a normal way, so that the other page replaces the current page in the browser, like this:

    <a href="http://www.othersite.com/">Interesting Other Site</a>

    Is always legal; however, if you knowingly link to a site which infringes on the copyright of a third party, such as a site that sells knockoffs of DVDs, you may be held legally responsible as well. Especially, of course, if you profit from it.

  • Creating a small "thumbnail" version of an image on another site and using that to link to the other site is also acceptable.
  • Linking directly to images, not pages, on other sites, or especially embedding them in your own site without their direct permission, may not be legal and is definitely unethical. Examples:


    <a href="http://www.othersite.com/picture.jpg">
    Picture On Someone Else's Site

    <img src="http://www.othersite.com/picture.jpg">

  • Using frames to bring up the web pages of another site so that they appear to be part of your own site, without permission, may not be legal and is also unethical.
Also, remember that if you embed images from other sites directly like this, the other webmaster can tell -- and they may change the image to something highly unpleasant. I've seen it happen before. And since using images like this without permission is stealing, I don't have any sympathy for those it happens to.

For a regularly updated source of great information regarding legal cases that affect the right to link to other sites, I suggest visiting linksandlaw.com.

Legal Note: yes, you may use sample HTML, Javascript, PHP and other code presented above in your own projects. You may not reproduce large portions of the text of the article without our express permission.

Got a LiveJournal account? Keep up with the latest articles in this FAQ by adding our syndicated feed to your friends list!