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 ...
+5
A:
<a href="http://www.google.com" target="_blank">
<img width="220" height="250" border="0" align="center" src=""/>
</a>
Salil
2010-06-29 10:32:44
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
2010-06-29 10:50:09