Thursday, March 3, 2011

How do I create a link that opens a new window?

The target attribute specifies where to open the linked document.
The example below will open the linked document in a new browser window:

<a href="http://www.w3schools.com/" target="_blank">Visit W3Schools!</a>

No comments:

Post a Comment