PDA

View Full Version : Validation



Frump
Sep 16th, 2010, 09:06 PM
I always try and eventually get my web pages validated to the strict doctype. But can someone tell me why it will not accept
target="_blank" and what i can use instead of it please. Thanks

SB65
Sep 16th, 2010, 09:20 PM
There's a whole thread on this here (http://www.codingforums.com/showthread.php?t=117463) (thanks to Aero for posting this in an earlier thread on the same subject this week).

Frump
Sep 16th, 2010, 09:45 PM
Have only just came across this code to add to your links and besides working a treat the web page still validates to HTML 4.01 Strict.



<a href="http://www.google.com/" onclick="this.target='blank'">Google</a>