LINK Handling Code

I want to create links that will open the pages in new window?
How can I link to website (say


Opening Link in New Page:

Many a times we want to open the links in new window.
It's simple.
Use the attribute "target=_blank" inside the tag "<a>".
Example :
<a href="test1.html" target="_blank"> Click to test1.html </a>
Result :
Click on the link to test. It will open the page in new window.
Linking to a external website:

The tag is same as other, only thing is that we have to use "http://".
So to link to we have to use "".
Example :
<a href=""> With FriendShip </a>
Result :
This will take you to the website.

Ask Questions

Ask Question