You can just set the attribute target. To open in the current top window (top frame):
<a href="http://example.com" target="_top">Link Text</a>
Or open in a new window:
<a href="http://example.com" target="_blank">Link Text</a>
There also _parentfor the parent window (not necessarily the top one) and _selffor the current window (default).
source
share