HTML Open Link in New Window - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Thursday, July 21, 2011

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.cfmtarget="_blank">HTML Help</a>

This results in:

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.

No comments:

Post a Comment