/    Sign up×
Community /Pin to ProfileBookmark

Opening a new window

Hello! I just found this Forum/Website earlier tonight. It looks very informative!

What is the HTML code for having a link that someone clicks on open up in a NEW WINDOW? Any help would be very much appreciated!

Linda

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@Daniel_TMar 04.2005 — [font="trebuchet ms"]Well, you could use <a href="#" target="_BLANK">link</a>, but keep in mind that not everyone wants their links to open in a new window.

If the link does need to open in a new window, you could also use the (valid) Javascript version:&lt;a href="#" onclick="window.open(this.href); return false"&gt;link&lt;/a&gt;[/font]
Copy linkTweet thisAlerts:
@Linda2005authorMar 04.2005 — Thank you, Daniel! :-)
×

Success!

Help @Linda2005 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...