FREE HTML CODE
Search HTML Code

HTML Open Link in New Window

You can use the HTML code on this page to force a link to open in a new window.

Example


<a href="http://www.quackit.com/html/html_help.cfm" target="_blank">HTML Help</a>



This results in:

HTML Help
As the above example demonstrates, to open a link in a new window, you simply add target="_blank" to the anchor tag. Everything else stays as a normal link.

| More