Custom Search

Sunday, January 10, 2010

How To Open Links in New Window or New Tab

Any webmaster don't like visitors to leave their site always.
So,if we use links to open in new window,our problem will be solved.

We used targe="blank" to open the link in new page.

We can also use target="new" instead of target="_blank".Both are same.

For Text Links
____________________________________
<a href="website URL" target="_blank">website name</a>

____________________________________

See the example below.

<a href="http://kluwantwo.blogspot.com" target="_blank">innovation blog</a>

It see like this.

innovation blog


For Image Links
________________________________________
<a href="website URL" target="_blank" title="TITLE"><img src="Image URL" border="0" width="80" height="15" alt="Description"></a>

________________________________________

See the example below.

<a href="http://kluwantwo.blogspot.com" target="_blank" title="innovation blog"><img src="http://i626.photobucket.com/albums/tt346/wam8387/sun.jpg" border="0" width="80" height="15" alt="innovation blog"></a>

It see like this.

innovation blog

Note:If you want You can change width,height,border value,etc... of above codes.

Anda Sudah Baca Yang Ini? :

0 komentar:

Klik Here To Show All Comment


Post a Comment

newer page older page home

Followers

Ad by PromoteBurner.com
top