HyperlinkCode.com

How To Open a Hyperlink in a New Window

Here is the HTML code to open a hyperlink in a new browser window. This is achieved by adding the target attribute with _blank as the value for that attribute to the regular hyperlink code.

New Browser Window HTML Hyperlink Code

Code

<a href="http://www.hyperlinkcode.com/new-window.php" target="_blank">New Browser Window</a>

Output

New Browser Window

Code In Context

Code

How to open hyperlinks in a <a href="http://www.hyperlinkcode.com/new-window.php" target="_blank">new browser window</a> quickly.

Output

How to open hyperlinks in a new browser window quickly.

More Hyperlink Codes

© Copyright 2007 - 2015 HyperlinkCode.com.
Site Admin: Ed Zivkovic. Privacy | Terms