tags:

views:

32

answers:

3

i have a picture, if i click onto that picture, another page opens in a new tab or a new window of my browser.. it`s just like making a href ...

A: 

set it's target="_blank"

Jason
+5  A: 
<a href="http://www.google.com" target="_blank">
  <img width="220" height="250" border="0" align="center"  src=""/>
</a>
Salil
A: 

If you use script to navigate to the page, use the open method with the target _blank to open a new window / tab:

<img src="..." alt="..." onclick="window.open('anotherpage.html', '_blank');" />

However, if you want search engines to find the page, you should just wrap the image in a regular link instead.

Guffa