

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.
Add the target=”_blank” attribute to the a href tag.


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.
Add the target=”_blank” attribute to the a href tag.


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.
Add the target=”_blank” attribute to the a href tag.


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.
How to open a link in a new window (HTML)
webdesignhtmlAdd the target=”_blank” attribute to the a href tag.
Add the target=”_blank” attribute to the a href tag.
Add the target=”_blank” attribute to the a href tag.
Use the following code:








Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.