When I was looking at some webpage, there was a link to another page. I went to that link and after a while when I wanted to come back I had to click the back button for several times because the link opened in the existing window. But, if the link opened in a new window, it would have been better.
This is how it is done.
Say, your link points to Google. The html code would be
<a href="http://www.google.com">Google</a>
---------Test it------Google
Just change it to
<a href="http://www.google.com" target="_blank">Google</a>
---------Test it------Google
so that it opens in a new window
No comments:
Post a Comment