XHTML Strict 1.0 - target="_blank" not valid?
Posted
by
Mutherphucker Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mutherphucker Mike
Published on 2011-01-12T08:09:23Z
Indexed on
2011/01/13
5:53 UTC
Read the original article
Hit count: 311
I just validated my actual XHTML Strict 1.0 doc with the w3c validator service.. and it says that,
<ul id="socialnetwork">
<li><a href="http://www.twitter.com" target="_blank"></a></li>
<li><a href="http://www.flickr.com" target="_blank"></a></li>
<li><a href="http://www.xing.com" target="_blank"></a></li>
<li><a href="http://www.rss.com" target="_blank"></a></li>
</ul>
the target="_blank" is not valid.. but I need the target blank so a new tab will open in the browser, so that the user does not leave the main page.
What can I do? Why is this not valid?
© Stack Overflow or respective owner