|
|  |
|
By default links will open in the current window or frame.
You need to add a target if you want the link to open in another window or another frame than the link itself is placed in.
To do this you simply add a target="" to the <a href>.
This example will open yahoo in a new window:
<a href="http://www.yahoo.com" target="_blank">
|
Predefined targets are:
- _blank Load the page into a new browser-window.
- _self Load the page into the current window.
- _parent Load the page into the frame that is superior to the frame the hyperlink was in.
- _top Cancel all frames, load in full browserwindow.
In addition to these, you can also enter the name of a frame-window if your page is within a frameset.
You can click here to learn more about links in framesets.
|
|
 |  |
|