Here is the HTML code to open a hyperlink in a new browser window or tab.

This is achieved by adding the target attribute with _blank as the value for that attribute to the regular hyperlink code. See below for example code ..



The following code will open a new browser window or tab. Whether a new window or tab open depends on the type browser and how it is configured.

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


New Browser Window



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


How to open hyperlinks in a new browser window quickly.


See also, how to make a link button.


Web Design