Opening a New Window

9/30/99

When you are using anchors, you can use the TARGET attribute of the <A> tag to specify which browser window the URL is opened into. There are four default targets that can be used. Here, only the _blank target will be described. The frames section of this site describes the other TARGET types.

When you include the TARGET attribute in an anchor, such as <A HREF="http://www.tech.purdue.edu/ target=_blank"> a new browser window is opened for the URL. The links below show three examples.


Examples