Popping up a new window

By default, when you click on a link, WWW browsers will replace the document currently being shown with the new target document. For example, if you write:

<:A HREF="example.html"> Click Here to replace document </A>

you will simply replace the current document. Try it:

Click Here to replace document


The TARGET attribute allows you to leave the current document alone, and force the new document to be brought up in a new window. To use TARGET, you write:

<:A HREF="example.html" TARGET=BLANK> Click Here for new window </A>

you will simply replace the current document. Try it:

Click Here for new window


Warning. If you already have a second browser window open, instead of creating a new window for the new document, the browser may simply replace the contents of one of your other windows with the new document instead of popping up a new window. Don't worry about this for assignment 3.