How to open a link in a new window (HTML)

How to open a link in a new window (HTML)

Zach Zach (210)
Total time: 1 minute 

When building a website, it's a good idea to open external links (e.g. http://google.com) in a new window so that users aren't directed away from your site.

Posted in these interests:

webdesign
PRIMARY
43 subscribers
html
13 subscribers

Add the target="_blank" attribute to the a href tag.

Opens Google in a new window