Anchor tags and target behaviour? - HTML

Posted by RadiantHex on Stack Overflow See other posts from Stack Overflow or by RadiantHex
Published on 2010-03-27T19:59:18Z Indexed on 2010/03/27 20:03 UTC
Read the original article Hit count: 284

Filed under:
|
|

Hi folks,

I must say that despite this being a newb question, I don't think I have totally mastered HTML a tags.

Whenever I want to open a link in a new tab I add target="_blank", works fine in chrome and firefox. Not in IE7-8.

I think the behaviour might have something to do with the DOCTYPE, but I'm not entirely sure. I'm currently using HTML 4.01 Strict.


Right now what I am trying to understand is:

  • How to open links in new tabs in IE7-8

  • How to open links within small windows

alt text


Help would be very much appreciated! :)

© Stack Overflow or respective owner

Related posts about html

Related posts about anchor