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.
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.
Creating a "Popup Window"
More Link Codes
You can do much more with HTML links. Here are more HTML link codes - each one catering for a specific purpose.
- HTML link code
- HTML image link
- HTML email links
- About HTML links (from the HTML tutorial)
- HTML redirect code
- CSS links (remove underline, hover over effect, etc)
Enjoy this page?
- Link to this page (copy/paste into your own website or blog):
- Link to Quackit using one of these banner ads.
Thanks for supporting Quackit!