How to make webpage Hyperlink open in new Window

ADVERTISEMENTS

By default, majority of hyperlinks open in the same browsing window. We can easily make such links open in new window by adding “_blank” target tag to the hyperlink code. After code modifications,¬†click on the hyperlink will open the target webpage in new browser window.

Code to open hyperlink in new window

By default, the hyperlink code will be like this:
<a href=”page.html”>Click here </a>

Add _blank tag to target parameter to open it in new window:
<a href=”page.html” target=”_blank”>Click here </a>

SHARE
 

Add a Comment

*