Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> HTML >> Snippet

Open URL in new window


<!-- with target attribute of <a> tag, you can tell browser to open in a new window -->

< a href = "mypage.htm" target =_blank > Go </ a >  new, empty window

or

< a href = "sample.html" target = "new" > Open a new window </ a >