|
|
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 same window
<!-- default of anchor tag is to open in same window -->
<
a
href
=
"mypage.htm"
>
Go
</
a
>
or
<!-- with target attribute of <a> tag, you can define where the URL will open -->
<
a
href
=
"mypage.htm"
target
=_self
>
Go
</
a
>
default location - same window or frame
|
|
|
|